diff --git a/manual/preparation.rst b/manual/preparation.rst index 26b7045..f289c72 100644 --- a/manual/preparation.rst +++ b/manual/preparation.rst @@ -1,61 +1,43 @@ .. _preparation: -============= - Preparation -============= +============== + Installation +============== Installing |project| ==================== There are currently two ways to install the |version| version of |project|: * |ubuntu| packages -* From source +* From source (undocumented yet, but uses python setup.py standard packaging) |ubuntu| Packages ----------------- -Debian packages for several versions of |ubuntu| are available from -the `CoR-Lab package repository -`_. The following repository -source line has to be added to ``/etc/apt/sources.list``:: +Debian packages for |ubuntu| are available from the `CoR-Lab package +repository `_ , `Biorob +repository `_ and +`Cyberbotics repositiory `_. - deb http://ponyo +In order to install these repositories in your system, please proceed +like this:: -where :samp:`RELEASENAME` is the appropriate Ubuntu release name. Now install -the package:: + eval `cat /etc/lsb-release` && sudo -s "echo 'deb http://biorob2.epfl.ch/users/tuleu/ubuntu $DISTRIB_CODENAME main' > /etc/apt/sources.list.d/biorob-tuleu.list" + eval `cat /etc/lsb-release` && sudo -s "echo 'deb http://packages.cor-lab.de/ubuntu $DISTRIB_CODENAME testing' > /etc/apt/sources.list.d/biorob-tuleu.list" + sudo -s "echo 'deb http://www.cyberbotics.com/debian/ binary-i386/' > /etc/apt/sources.list.d/cyberbotics.list" + sudo -s "echo 'deb http://www.cyberbotics.com/debian/ binary-amd64/' >> /etc/apt/sources.list.d/cyberbotics.list" + wget -O - http://biorob2.epfl.ch/users/tuleu/ubuntu/gpg.key | sudo apt-key add - + wget -O - https://webdav.cor-lab.de/server_keys/packages.cor-lab.de_server_key.txt | sudo apt-key add - + wget -O - http://www.cyberbotics.com/Cyberbotics.asc | sudo apt-key add - - oncilla-sim -.. note:: +Then you can install the packages needed for the simulator:: - More information can be found `here - `_. + sudo aptitude update + sudo aptitude install oncilla-sim liboncilla-dev liboncilla-webots-dev webots -From Source ------------ -Installation from source requires `cmake`_ and `rsb`_. - -#. The whole source tree of |project| can be obtained via:: - - https://redmine.amarsi-project.eu/git/oncillasim.git - - .. note:: - - In the following commands, :samp:`{prefix}` specifies the target - directory of the installation. - -#. Build and install |project| Library - - .. code-block:: sh - - mkdir -p build - cd build - cmake -DCMAKE_INSTALL_PREFIX=$prefix .. - make - make install - -.. _`ubuntu manual`: - http://wiki.ubuntuusers.de/sources.list +Now you are ready to use :ref:`oncilla-sim-wizard ` utility to +launch the simulator.