Installation

Installation on Debian Jessie (8.x)

You can use the apt repository to get the most curernt version. Add the following line to your /etc/apt/sources.list:

deb [arch=amd64] https://element.fkp.physik.tu-darmstadt.de/damaris nightly jessie

Replace jessie with wheezy if you want to install DAMARS this way on Debian Wheezy.

Next, you need to add the repository key:

wget -qO - http://element.fkp.physik.tu-darmstadt.de/~jenkins/damaris/damaris.key | apt-key add -

You can then install the newest version with:

apt-get update && apt-get install damaris-modules damaris-backends python-damaris

Alternatively, you can install the debian packages manually, download the version you want to install from  here.

Installation on Debian Squeeze (6.0) and Wheezy (7.x)

If you have the sources of the Spectrum ADC kernel drivers you can set the following environment variable to build and include the kernel driver in the backend packages. We can not ship the source due to a NDA:


# Spectrum kernel driver
export SPC_SOURCE=path-to-spc-kernel-drivers/src_all/micx_drv

You can build debian packages with the commands below:


# Install the build dependecies:
aptitude install make g++ libxerces-c2-dev libexpat-dev \
                 subversion debhelper fakeroot dpkg-dev \
                 linux-headers-$(uname -r) unzip build-essential \
                 libglib2.0-dev 
# Checkout the latest Git revision of DAMARIS:
git clone https://chaos3.fkp.physik.tu-darmstadt.de/source/damaris.git
# change into this directory and build the back end packages:
cd damaris 
dpkg-buildpackage -rfakeroot -b -uc -us
# front end
cd frontends/python-damaris
dpkg-buildpackage -rfakeroot -b -uc -us

The final packages will reside in the parent directory and can be installed with dpkg.

dpkg -i *.deb damaris/frontends/*.deb