Flatpak/fr: Difference between revisions
(Created page with "== Installation ==") |
(Created page with "Si vous voulez installer au niveau de l'utilisateur ou si vous n'avez pas les privilèges sudo, ajoutez le drapeau {{incode|--user}} aux commandes suivantes.") |
||
Line 6: | Line 6: | ||
=== Stable === |
=== Stable === |
||
Si vous voulez installer au niveau de l'utilisateur ou si vous n'avez pas les privilèges sudo, ajoutez le drapeau {{incode|--user}} aux commandes suivantes. |
|||
{{code|lang=bash|code= |
{{code|lang=bash|code= |
Revision as of 07:55, 30 July 2022
Installation
Stable
Si vous voulez installer au niveau de l'utilisateur ou si vous n'avez pas les privilèges sudo, ajoutez le drapeau --user
aux commandes suivantes.
# add flathub repo just to be sure as it might not be enabled if it is your first time using flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.freecadweb.FreeCAD
Beta
If you want to install at the user level or don't have sudo privileges add the --user
flag to the following commands.
# flathub-beta repo is not enabled by default
flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
flatpak install flathub-beta org.freecadweb.FreeCAD
Running
You may start the flatpak using the desktop file or using the following command:
flatpak run org.freecadweb.FreeCAD
The different branches can be installed in parallel. To choose which one to run use the --branch
flag:
flatpak run --branch=beta org.freecadweb.FreeCAD
To run a specific executable (for example FreeCADCmd
to run without GUI) from the flatpak use the --command
flag:
flatpak run --command=FreeCADCmd org.freecadweb.FreeCAD