Skip to content

Compiling on Debian or Ubuntu

Julien Lamy edited this page Dec 20, 2016 · 3 revisions

Official packages are available (Debian, Ubuntu), as well as unofficial backports. If you want to compile from scratch, please proceed as follows.

  • Install packages:

      apt-get install build-essential cmake libdcmtk2-dev libjsoncpp-dev libicu-dev zlib1g-dev \
        libboost-dev libboost-filesystem-dev libboost-regex-dev libboost-python-dev \
        libboost-test-dev liblog4cpp5-dev python-dev python3-dev dcmtk pkg-config \
        python-nose python3-nose
    
  • Fetch the latest stable version, unzip it

  • From the source directory:

      mkdir build
      cd build
      cmake ..
      make
    
  • Make sure everything compiled correctly:

      ../tests/run
    
Clone this wiki locally