.. _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::
libcca0.5-dev
.. note::
More information can be found `here `_.
From Source
-----------
Installation from source requires :ref:`RSB `, :ref:`RST ` and
`cmake`_. :ref:`RST Converters` is also suggested to enable remote
communication over the network.
#. The source tree of |project| in its trunk version can be obtained via::
svn co https://redmine.amarsi-project.eu/svn/cca/trunk/cca
.. 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