Version 2 (modified by jaap, 6 years ago) (diff)



We advise to install CMT in its own virtual environment, by using a combination of pip, virtualenv (and virtualenvwrapper). The next section quickly gives you an example of how to setup such an environment. More detailed instructions can be found on the pages of these projects.

Prepare Environment

CMT utilizes a PIP package for easy installation. The advantage is that PIP handles all dependencies needed to use CMT. To install the package, you therefor first might need to install the PIP package manager.

Mandatory dependencies

There are several ways to install PIP.

Using YUM package manager (RHEL)
yum install python-setuptools && easy_install pip
Using aptitude package manager (Debian)
aptitude install python-pip
Using easy_install
easy_install pip
Using the (most recent) installer
curl | python

Keep in mind that CMT not only requires other Python-packages which could be installed with PIP, but some development packages with headers for Python and PostgreSQL libraries too. So, if you're facing any difficulties when installing CMT, make sure to check your system for the required packages.

Optional dependencies

The following are optional, but can be quite useful.


Virtualenv, amongst other things, allows you to install (PIP / Python) packages in alternative locations and create complete (Python) environments.

pip install virtualenv

Virtualenv wrapper

These are a collection of useful wrapper scripts to make using virtual environments easy. At this time there seems to be no RPM available in the CentOS repository (RB: 14th May 2012)

pip install virtualenvwrapper

Install CMT

CMT-packages are stored on the SURFsara ftp server, which can be found at:

Packages can be easily installed with pip, by issuing a command like

  • for client:

pip install

  • for server:

pip install

which will install the latest version of CMT.

After installing, you have to modify the sample config file cmt.conf.sample to reflect your settings and then rename it to cmt.conf.