See also
There are currently two ways to install the 0.10 version of RST:
In order to build RST, the following tools and libraries are required:
The whole source tree of RST, including all sub-projects, can be obtained by executing the command:
$ git clone -b 0.10 --recursive https://code.cor-lab.org/git/rst.git
After that, RST can be built and installed like this:
$ cd rst/rst-proto # after "git clone" command
$ mkdir -p build && cd build
$ cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=PREFIX ..
$ make
$ make install
where PREFIX is the directory into which RST should be installed (which is sometimes called “install prefix”).
Note
During the cmake call a list of enabled language bindings will be printed. Please verify that the language you want to work with is included. If this is not the case, a warning should have been printed to the console before that indicates which dependency could not be found.
Example output:
-- Matlab not supported by protoc. Not generating matlab bindings.
-- Enabled features:
* cpp binding
* java binding
* python binding
Optional: Install converters bundled with RST
$ cd rst/rst-converters # from same directory as "git clone" command
$ mkdir -p build && cd build
$ cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=PREFIX ..
$ make
$ make install
where PREFIX is the directory into which the RST converters should be installed.
Debian packages for several versions of Ubuntu GNU/Linux 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 main
where RELEASENAME is one of precise, quantal.
After that, packages can be installed via
$ sudo apt-get install rst0.10 librstconverters0.10
Of course, it also possible to only install a subset of the above packages.
Note
This installation method only works with Ubuntu GNU/Linux. More information can be found here.