Package Online Install - Advantech RSB-4221 User Manual

High performance processor
Hide thumbs Also See for RSB-4221:
Table of Contents

Advertisement

4.8.10
Add a Startup items when boot
1.
Remove a Startup items?
update-rc.d [-n] [-f] [-r <root>] <basename> remove
basename is your service script name
eg.
update-rc.d -f matrix-gui-2.0 remove
2.
Add a Startup items?
Firstly, you must ensure that the service script exists,then run the flowing command:
update-rc.d [-n] [-r <root>] [-s] <basename>start|stop NN runlvl [runlvl] [...] .
start|stop : when system start /shutdown the base name wiil run automatically
NN: 0~99
runlvl: RSB4221 run level is 5 (default);
eg. update-rc.d networking start 40 5.
You can find the S40 networking in rc5.d directory;
4.8.11

Package online install

4.8.11.1
OPKG Package Manager
Opkg is a lightweight package management system. It is written in C and resembles
apt/dpkg/yum in operation. It is intended for use on embedded Linux devices and is
used in this capacity in the OpenEmbedded and OpenWrt projects.
Advantech Embedded Linux for RSB-4221 has built-in OPKG package manager, with
this tool you can install most of the required software online and manage them such
as uninstall, upgrades and so on.
4.8.11.2
Installation New Software package
If you want to install a software which does not exist in the current OS, you should fol-
low the steps below:
1.
Update the online software source:
advantech# opkg update
2.
Search whether the software source server has the software you need.
advantech# opkglist|grep package
Note. Package is the keywords of the software name, for example, you want to
search an ftp server, and the package should be 'ftp'.
3.
Find the full name of the software you need in the search result list and install it
using the following command:
advantech# opkg install packagename
4.8.11.3
More about OPKG
More about use and development of OPKG, Please refer to the project website of
OPKG:
https://code.google.com/p/opkg/
RSB-4221 User Manual
56

Advertisement

Table of Contents
loading

Table of Contents