.. _preparation:
=============
Preparation
=============
Installing |project|
====================
There are currently two ways to install the |version| version of
|project|:
* |ubuntu| packages
* From source
|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``::
deb http://packages.cor-lab.de/ubuntu/ RELEASENAME testing
where :samp:`RELEASENAME` is the appropriate Ubuntu release name. Now install
the package::
librci0.5-dev
.. note::
More information can be found `here
`_.
From Source
-----------
Installation from source requires :term:`CMake`. Additional project dependencies
are :ref:`RSC `, and :term:`NemoMath`. |project| has an optional dependency to
:ref:`CCA `, using it if found by cmake.
#. The whole source tree of |project| can be obtained via::
svn co https://redmine.amarsi-project.eu/svn/rci/trunk/rci
.. note::
In the following commands, :samp:`{prefix}` specifies the target
directory of the installation.
#. Build and install |project| Library
.. code-block:: sh
cd build
cmake -DCMAKE_INSTALL_PREFIX=$prefix ..
make
make install
.. _`ubuntu manual`:
http://wiki.ubuntuusers.de/sources.list