Flatpak: Difference between revisions
(Created initial page) |
No edit summary |
||
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
{{TOCright}} |
|||
<translate> |
|||
== Installing == <!--T:1--> |
|||
=== Stable === <!--T:2--> |
|||
{{code| |
|||
<!--T:3--> |
|||
If you want to install at the user level or don't have sudo privileges add the {{incode|--user}} flag to the following commands. |
|||
</translate> |
|||
{{code|lang=bash|code= |
|||
# add flathub repo just to be sure as it might not be enabled if it is your first time using flatpak |
# 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 remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo |
||
flatpak install flathub org.freecadweb.FreeCAD |
flatpak install flathub org.freecadweb.FreeCAD |
||
}} |
}} |
||
<translate> |
|||
=== |
=== Development versions === <!--T:4--> |
||
<!--T:5--> |
|||
{{code| |
|||
If you want to install at the user level or don't have sudo privileges add the {{incode|--user}} flag to the following commands. |
|||
</translate> |
|||
{{code|lang=bash|code= |
|||
# flathub-beta repo is not enabled by default |
# 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 remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo |
||
flatpak install flathub-beta org.freecadweb.FreeCAD |
flatpak install flathub-beta org.freecadweb.FreeCAD |
||
}} |
}} |
||
<translate> |
|||
== Running == <!--T:6--> |
|||
Note: |
|||
⚫ | |||
<!--T:7--> |
|||
{{code| |
|||
You may start the flatpak using the desktop file or using the following command: |
|||
</translate> |
|||
{{code|lang=bash|code= |
|||
flatpak run org.freecadweb.FreeCAD |
|||
}} |
|||
<translate> |
|||
<!--T:8--> |
|||
⚫ | |||
</translate> |
|||
{{code|lang=bash|code= |
|||
flatpak run --branch=beta org.freecadweb.FreeCAD |
flatpak run --branch=beta org.freecadweb.FreeCAD |
||
}} |
}} |
||
<translate> |
|||
<!--T:9--> |
|||
To run a specific executable (for example {{incode|FreeCADCmd}} to run without GUI) from the flatpak use the {{incode|--command}} flag: |
|||
</translate> |
|||
{{code|lang=bash|code= |
|||
flatpak run --command=FreeCADCmd org.freecadweb.FreeCAD |
|||
}} |
|||
<translate> |
|||
== Repository == <!--T:10--> |
|||
<!--T:11--> |
|||
* https://github.com/flathub/org.freecadweb.FreeCAD |
|||
=== Maintainer(s) === <!--T:12--> |
|||
<!--T:13--> |
|||
* [https://github.com/hfiguiere hfiguiere] |
|||
== Related == <!--T:14--> |
|||
<!--T:15--> |
|||
⚫ | |||
⚫ | |||
=== Relevant links === |
|||
</translate> |
|||
⚫ | |||
[[Category:Packaging{{#translation:}}]] |
|||
⚫ | |||
[[Category:Developer Documentation{{#translation:}}]] |
|||
[[Category:Testing{{#translation:}}]] |
Latest revision as of 08:00, 30 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
Development versions
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