Skip to content

Instantly share code, notes, and snippets.

@timlinux
Last active April 5, 2022 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save timlinux/5824f0e3d75f2fc43267e5c058602cde to your computer and use it in GitHub Desktop.
Save timlinux/5824f0e3d75f2fc43267e5c058602cde to your computer and use it in GitHub Desktop.
Building PCRaster on Fedora

What follows are the steps I took to build PCRaster on Fedora (34) from source. I chose to build from source because I didn't want to use the conda installer and I could not find a stand alone package.

The process below assumes that you have a working QGIS build environment since some of the PCRaster dependencies are provided by the QGIS dependency tree too.

git clone git@github.com:pcraster/pcraster.git
cd pcraster/
mkdir build
cd build/
sudo dnf install boost-devel qt5-qtcharts-devel xerces-c-devel ncurses-devel
ccmake ..
make -j 20
sudo make install

After doing that, start QGIS and install the PCRaster QGIS plugin.

Once installed, you should see a new PCRaster group in your processing panel:

pcraster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment