Linux:Installation from sources old
- 1 Getting all dependencies
- 2 Getting Subversion
- 3 Getting the YARP and iCub sources
Getting all dependencies
Most of the dependencies are already available in the Linux distributions, in some cases (e.g. ipopt or ode in some distributions) we provide our own packages. Follow the step on this page to configure the sources.list.
Install only the package icub-common:
sudo apt-get install icub-common
sudo apt-get install cmake
sudo apt-get install subversion
If you are not familiar with svn we suggest at least you learn the basics. Some instructions are available from the sourceforge website:
A lot of more details (including a quick introduction) can be found instead here:
Important: if you are a developer and are planning to commit to the repository don't forget to configure svn. Follow this link: Subversion_client_flags.
Getting the YARP and iCub sources
Get the YARP sources. Pick a directory where you would like to install the sources, e.g. /home/user
cd /home/user svn co https://yarp0.svn.sourceforge.net/svnroot/yarp0/trunk/yarp2
This will create a directory called yarp2 with all the sources.
- Set the YARP_ROOT environment variable in your .bashrc to point to /home/user/yarp2.
Get the iCub sources. In the same directory (or elsewhere):
This will create a directory iCub with all the sources.