====== Installation Instructions for YARP and ICUB sowftware ====== This web page contains the information related to the iCub installation in different computers, please choose the correct one: ^ __**Table of contents**__ ^ |[[icub_general#1) Installation instructions for the PC (general use/personal laptop)]]| |[[icub_general# 1.1) Linux installation ]] | |[[icub_general# 1.2) Windows installation]]| |[[icub_general#2) Installation of the Laptop that comes with the iCub]]| |[[icub_general#3) Installation of the PC104]]| ====== 1) Installation instructions for the PC (general use/personal laptop)====== You should use this option if you want to install yarp and iCub sowftware for your own laptop or Personal PC for develop modules. ===== 1.1) Linux Installation ===== The instruction on this manual were successfully tested on Machines with **Ubuntu** operating systems versions from 11.10 until Ubuntu 12.10 ==== Setting up the environment ==== We need to set up the environment variables. It is necessary to edit the ".bashrc" file from the home directory. cd gedit .bashrc Add the following: export YARP_ROOT=${HOME}/local/src/yarp2 export ICUB_ROOT=${HOME}/local/src/iCub Create directories to store the sources: cd mkdir -p local/src ===== Installing YARP ===== Follow the steps in here: [[icub:yarp_pc|Installing YARP on PC]] ===== Installing iCub ===== Follow the steps in here: [[icub:icub_pc|Installing iCub on a PC]] ==== Verify your installation: ==== Now you are ready to check your installation, please follow the steps in here: [[http://eris.liralab.it/wiki/Check_your_installation]] ===== 1.2) Windows Installation ===== ====== 2) Installation of the Laptop that comes with the iCub ====== This secction contains guidelines for installation of the iCub server so that it matches the requirements of the Linux on the pc104 (open call configuration). If the laptop is going to be reformatted, it is important that the configuration on the user, nfs directories and network are done. Please do the steps in [[icub:icubsrv_configuration|here]], before installing the yarp and iCub sowftare. **NOTE:** It is important to make sure that when the iCub arrives from the upgrade this configurations are done: [[icub:icubsrv_configuration|Icubsrv configuration previous to the installation]] Configure bashrc. Add these lines in /home/icub/.bashrc: export ICUB_ROOT=/usr/local/src/robot/iCub export ICUB_DIR=$ICUB_ROOT/main/build export YARP_ROOT=/usr/local/src/robot/yarp2 export YARP_DIR=$YARP_ROOT/build export ICUB_ROBOTNAME=iCubMunich01 export PATH=$PATH:$ICUB_DIR/bin:$YARP_DIR/bin Now, that the laptop configurations are done, we proceed with the installation of the yarp and iCub software: ===== Installation of Yarp ===== These instructions assume you have internet connection on the laptop shipped with the robot. And this installation differs a bit from the previous section, so please follow this steps: [[icub:yarp_icubsrv|YARP installation on the icubsrv (Laptop that comes with the iCub)]] ===== Installation of iCub ===== The installation or upgrade of the iCub software differs from the previous section. Therefore, please follow the following steps instead: [[icub:icub_icubsrv|iCub installation on the icubsrv (Laptop that comes with the iCub)]] It is important that after installing yarp and iCub software, you check if everything was installed correctly, therefore, follow this: [[http://eris.liralab.it/wiki/Check_your_installation | Check your installation]] ====== 3) Installation of the PC104 ====== The Debian Linux that comes installed on the pc104 is already configured. Before you go ahead make sure the Debian Live on the pc104 is configured to use SVN (use image version > 1.3). If you want to update the Debian version on the PC104, please take a look here [[http://eris.liralab.it/wiki/The_Linux_on_the_pc104 |PC104 Debian versions]] ===== YARP installation: ===== It is important that you follow this steps if you want to install or upgrade YARP on the pc104: [[icub:yarp_pc104|YARP installation on PC104]] ===== iCub Installation: ===== It is important that you follow this steps if you want to install or upgrade iCub software on the pc104: [[icub:icub_pc104|ICUB installation on PC104]]