PCRaster 4.2 on Linux

Starting with PCRaster 4.2, we will no longer distribute compiled versions for Linux systems. At this time, users need to compile their own version. We strive to make that process straightforward, instructions for several distributions will be listed on this page.

Debian Testing, Ubuntu 18.04

To install PCRaster e.g. in $HOME/pcraster:

$ sudo apt install cmake gcc g++ git libboost-all-dev libgdal-dev libncurses5-dev libpython-dev libqwt-qt5-dev libxerces-c-dev libxml2 libxml2-utils libxslt1-dev python-numpy qtbase5-dev python-docopt
$ wget http://pcraster.geo.uu.nl/pcraster/4.2.0/pcraster-4.2.0.tar.bz2
$ tar xf pcraster-4.2.0.tar.bz2 && cd pcraster-4.2.0
$ mkdir build && cd build
$ cmake --build .
$ make install

You will need to add $HOME/pcraster/bin to your PATH environment variable and $HOME/pcraster/python to your PYTHONPATH environment variable to run the PCRaster applications.