Flatpak: Difference between revisions

From FreeCAD Documentation
(Add more info on running the faltpak)
m (Titles formatting)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
== Installing ==

=== Stable ===
=== Stable ===
If you want to install at the user level or don't have sudo privileges add the {{incode|--user}} flag to the following commands.
If you want to install at the user level or don't have sudo privileges add the {{incode|--user}} flag to the following commands.
Line 17: Line 17:
}}
}}


=== Running ===
== Running ==
You may start the flatpak using the desktop file or using the following command:
You may start the flatpak using the desktop file or using the following command:


Line 36: Line 36:
}}
}}
=== Repository ===
== Repository ==


* https://github.com/flathub/org.freecadweb.FreeCAD
* https://github.com/flathub/org.freecadweb.FreeCAD
Line 44: Line 44:
* [https://github.com/hfiguiere hfiguiere]
* [https://github.com/hfiguiere hfiguiere]


=== Related ===
== Related ==


* [[AppImage]] packages
* [[AppImage]] packages

Revision as of 17:42, 14 July 2022

Installing

Stable

If you want to install at the user level or don't have sudo privileges add the --user flag to the following commands.

# 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

Repository

Maintainer(s)

Related