From packages
Go to the last release page and download the package for yours system. For GNU/Linux system, get the file GNU/Linux (tar.xz)
and extract the archive. You can now run Pamhyr with path ./pamhyr/pamhyr
.
pamhyr-x11
script to force x11 backend.
From sources
In this case, you need to install some dependencies.
System dependencies
You need git, python3-venv and python3-pip installed on your system.
$ sudo apt install python3-venv python3-pip git
Get Pamhyr2 sources
$ git clone https://gitlab.irstea.fr/theophile.terraz/pamhyr
$ cd pamhyr
Pamhyr2 dependencies
Now, we can setup the Pamhyr environment, open a terminal and type following command:
$ python3 -m venv venv
$ source venv/bin/activate
$ python3 -m pip install requirements.txt
$ deactivate
Install Mage (optional)
This step consists of installing the default version of Mage from release.
$ export MAGE_8_VERSION="v8.3.6"
$ curl -L -o mage8.tgz https://gitlab.irstea.fr/jean-baptiste.faure/mage/-/releases/$MAGE_8_VERSION/downloads/packages/mage_linux.tgz
$ mkdir -p mage8
$ cd mage8
$ tar xf ../mage8.tgz
$ cd ..
Run Pamhyr2
Finally, you can run Pamhyr2 with the command:
$ source venv/bin/activate
$ ./src/pamhyr.py