Install prerequisites¶
Installing the prerequisites for RDMO differs on the different operating systems and is therefore covered in different sections. Here, you need to use the superuser.
Linux¶
We recommend to install the prerequisites using the packaging system of your distribution. On Debian/Ubuntu use:
sudo apt install build-essential libxml2-dev libxslt-dev zlib1g-dev \
python3-dev python3-pip python3-venv \
git pandoc
# optional, for pdf output
sudo apt install texlive texlive-xetex lmodern librsvg2-bin
on RHEL/CentOS use:
sudo yum install gcc gcc-c++ libxml2-devel libxslt-devel \
python34-devel python34-pip python34-virtualenv \
git pandoc
# optional, for pdf output
sudo yum install texlive texlive-xetex texlive-mathspec texlive-euenc \
texlive-xetex-def texlive-xltxtra librsvg2-tools
On Ubuntu 14.04, python3-venv
is not available. Please use python3.5-venv
instead.
On RHEL/CentOS selinux
is enabled by default. This can result in unexpected errors, depending on where you store the RDMO source code on the system. While the prefereble way is to configure it correctly (which is beyond the scope of this documentation), you can also set selinux
to permissive
or disabled
in /etc/selinux/config
(and reboot afterwards).
macOS¶
We recommend to install the prerequisites using brew:
brew install python3
brew install git
brew install pandoc
# optional, for pdf export
brew install texlive
Windows¶
On Windows, the software prerequisites need to be downloaded and installed from their particular web sites.
For python:
- download from https://www.python.org/downloads/windows/
- don’t forget to check ‘Add Python to environment variables’ during setup
For git:
- download from https://git-for-windows.github.io/
For the Microsoft C++ Build Tools:
- download from https://wiki.python.org/moin/WindowsCompilers
For Pandoc:
- download from https://github.com/jgm/pandoc/releases
For pdflatex (optional, for pdf export):
- download from http://miktex.org/
All further steps need to be performed using the windows shell cmd.exe
. You can open it from the Start-Menu.