UPGRADE PROCEDURE
- Ion Technical Information Manual
47
11
UPGRADE PROCEDURE
Upgrade the Ion packages
The Ion R4301P reader operating system is a standard Linux Debian installation so the upgrade procedure is based, as
any Debian system, on the
aptitude
tool. Here we show the basic usage of this method in order to upgrade or install
new packages on the system, for further details on the aptitude tool please refer to the specific documentation (see §
Debian Documentation on line resource
).
By default, the CAENRFID APT repository list and the Debian APT repository list are already set up into your system so,
if you want to upgrade the Ion reader with the latest available packages, you have first to setup your Ion network with
the proper settings (see §
ION READER CONFIGURATION
page 18) and then type at the command shell the following
two commands
7
:
root@ion:~# aptitude update
root@ion:~# aptitude upgrade
Install new Debian software
As a first step, you may need to search for a specific package by using the
apt-cache
command as follow:
root@ion:~# apt-cache search <string>
The command searches each string occurrences into all Debian packages and prints the results on standard output.
Once you have found the name of the package on the list resulting from the above commanda, you can install it by
using the apt-get command as follow:
root@ion:~# apt-get install <package>
For example, if you wish to install the Java Run Time environment (JRE) into your Ion reader, you can proceed as shown
in the following:
root@ion:~# apt-cache search jre
default-jre-headless - Standard Java or Java compatible Runtime (headless)
default-jre - Standard Java or Java compatible Runtime
Then use the command:
# apt-get install default-jre
apt-get install defaul-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package defaul-jre
root@ion:~# apt-get install default-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
ca-certificates ca-certificates-java default-jre-headless defoma file
fontconfig fontconfig-config hicolor-icon-theme java-common
libaccess-bridge-java libaccess-bridge-java-jni libasound2 libasyncns0
libatk1.0-0 libatk1.0-data libavahi-client3 libavahi-common-data
libavahi-common3 libcairo2 libcups2 libdatrie1 libflac8
libfont-freetype-perl libfontconfig1 libfontenc1 libgcrypt11 libgif4
libglib2.0-0 libglib2.0-data libgnutls26 libgpg-error0 libgtk2.0-0
libgtk2.0-bin libgtk2.0-common libice6 libjasper1 libjpeg62 liblcms1
7
Commands on the Development Virtual Machine are marked by the suffix
develop:~#
, while commands on the ION R4301P Reader shell are
marked by the suffix
root@ion:~#.