Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • P Pamhyr2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.

  • Theophile Terraz
  • Pamhyr2
  • Wiki
  • Home
  • Fr
  • Install on GNULinux

Install on GNULinux · Changes

Page history
home, install: Update fr version. authored Sep 25, 2024 by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Hide whitespace changes
Inline Side-by-side
home/fr/Install-on-GNULinux.md
View page @ 8d8cc314
# From packages
Go to the [last release](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/releases/permalink/latest) 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`.
Aller sur la page *[last release](https://gitlab.irstea.fr/theophile.terraz/pamhyr/-/releases/permalink/latest)* **télécharger le paquet** pour votre système. Pour GNU/Linux système, vous pouvez prendre le fichier `GNU/Linux (tar.xz)` et **extraire les fichiers**. Une fois fait vous pouvais lancer Pamhyr2 avec l'executable `./pamhyr/pamhyr`.
:bulb: If you are under a Linux distribution with *Wayland* and Pamhyr cannot run, you can run Pamhyr with `pamhyr-x11` script to force *x11* backend.
:bulb: Si vous êtes sur un GNU/Linux moderne qui utilise *Wayland* l'executable `pamhyr` risque de ne pas marcher. Dans se cas vous pouvez essayer de lancer Pamhyr2 avec l'executable `pamhyr-x11` pour forcer *x11* en *backend*.
# From sources
In this case, you need to install some dependencies.
Pour l'installation depuis les sources, vous aurez besoin d'installer des dépendances.
## System dependencies
## Dépendences système
You need *git*, *python3-venv* and *python3-pip* installed on your system.
Vous aurez tous d'abord besoin de *git*, *python3-venv* et *python3-pip* installer sur votre système.
:bulb: On Debian based distribution (Debian, Ubuntu, Linux Mint, ...):
:bulb: Pour les installer sur un GNU/Linux du type Debian-like (Debian, Ubuntu, Linux Mint, ...):
```shell
$ sudo apt install python3-venv python3-pip git
```
## Get Pamhyr2 sources
## Recupéré les sources de Pamhyr2
```shell
$ git clone https://gitlab.irstea.fr/theophile.terraz/pamhyr
$ cd pamhyr
```
## Pamhyr2 dependencies
## Dépendences de Pamhyr2
Now, we can setup the Pamhyr environment, open a terminal and type following command:
Il faut maintenant mettre en place l'environment logiciel pour Pamhyr2 avec les commands:
```shell
$ python3 -m venv venv
......@@ -36,9 +36,9 @@ $ python3 -m pip install requirements.txt
$ deactivate
```
## Install Mage (optional)
## Installation de Mage (optionel)
This step consists of installing the default version of Mage from release.
Pamhyr2 utilise par défaut le solveur mage, souver les étapes suivante pour l'installer:
```shell
$ export MAGE_8_VERSION="v8.3.6"
......@@ -49,11 +49,11 @@ $ tar xf ../mage8.tgz
$ cd ..
```
## Run Pamhyr2
## Lancer Pamhyr2
Finally, you can run Pamhyr2 with the command:
On peut enfin lancer et utiliser Pamhyr2 à l'aide des commandes suivante:
```shell
$ source venv/bin/activate
$ ./src/pamhyr.py
```
\ No newline at end of file
```
Clone repository
  • home en
  • home fr
  • home
    • en
      • Boundary conditions
      • Create or open a study
      • Friction
      • Geometry
      • Hydraulic structures
      • Initial conditions
      • Install on GNULinux
      • Install on windows
      • Lateral contributions
      • Reservoirs
      • Results
      • River network
View All Pages