Difference between revisions of "API2 install daemons"

From RobotinoWiki
(Created page with 'In order to use the API2 you need to replace packages on Robotino. The easiest way is to give Robotino Internet access. The file '''/etc/apt/sources.list''' should look like this…')
 
Line 1: Line 1:
 +
You can skip the steps below when using the [[downloads#CF_card_images|API CF-card image]].
 +
 
In order to use the API2 you need to replace packages on Robotino. The easiest way is to give Robotino Internet access. The file '''/etc/apt/sources.list''' should look like this.
 
In order to use the API2 you need to replace packages on Robotino. The easiest way is to give Robotino Internet access. The file '''/etc/apt/sources.list''' should look like this.
 
<pre>
 
<pre>

Revision as of 12:51, 12 December 2011

You can skip the steps below when using the API CF-card image.

In order to use the API2 you need to replace packages on Robotino. The easiest way is to give Robotino Internet access. The file /etc/apt/sources.list should look like this.

deb http://doc.openrobotino.org/download/packages/i386 ./
deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted
echo "deb http://doc.openrobotino.org/download/packages/i386 ./" > /etc/apt/sources.list
echo "deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted" >> /etc/apt/sources.list
echo "deb-src http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted" >> /etc/apt/sources.list

After setting up the sources.list

apt-get update
apt-get install rec-rpc-qt4.5.0 robotino-common robotino-daemons robotino-api2 robotino-examples

Questions during the installation process

Install these packages without verification [y/N]? y
Do you want to install symlinks? -> Yes

This will remove the API1 daemons and install the API2 counterparts. Reboot the system when installation is finished.

Alternatively you can download the packages to your computer. Replace * by the latest version.

wget http://doc.openrobotino.org/download/packages/i386/rec-rpc-qt4.5.0_*_i386.deb
wget http://doc.openrobotino.org/download/packages/i386/robotino-common_*_i386.deb
wget http://doc.openrobotino.org/download/packages/i386/robotino_daemons_*_i386.deb
wget http://doc.openrobotino.org/download/packages/i386/robotino-api2_*_i386.deb
wget http://doc.openrobotino.org/download/packages/i386/robotino-examples_*_i386.deb

Then copy the files to Robotino using scp or ftp. On Robotino do

dpkg -i rec-rpc-qt4.5.0_*_i386.deb
dpkg -i robotino-common_*_i386.deb
dpkg -i --auto-deconfigure robotino-daemons_*_i386.deb
dpkg -i robotino-api2_*_i386.deb
dpkg -i robotino-examples_*_i386.deb