Flatpak: Difference between revisions

From FreeCAD Documentation
No edit summary
(put for translation)
Line 1: Line 1:
<languages/>
{{TOCright}}
{{TOCright}}
<translate>

== Installing ==
== Installing ==


Line 6: Line 9:
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.


</translate>
{{code|lang=bash|code=
{{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
Line 11: Line 15:
flatpak install flathub org.freecadweb.FreeCAD
flatpak install flathub org.freecadweb.FreeCAD
}}
}}
<translate>


=== Beta ===
=== Beta ===
Line 16: Line 21:
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.


</translate>
{{code|lang=bash|code=
{{code|lang=bash|code=
# flathub-beta repo is not enabled by default
# flathub-beta repo is not enabled by default
Line 21: Line 27:
flatpak install flathub-beta org.freecadweb.FreeCAD
flatpak install flathub-beta org.freecadweb.FreeCAD
}}
}}
<translate>


== Running ==
== Running ==
Line 26: Line 33:
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:


</translate>
{{code|lang=bash|code=
{{code|lang=bash|code=
flatpak run org.freecadweb.FreeCAD
flatpak run org.freecadweb.FreeCAD
}}
}}
<translate>


The different branches can be installed in parallel. To choose which one to run use the {{incode|--branch}} flag:
The different branches can be installed in parallel. To choose which one to run use the {{incode|--branch}} flag:


</translate>
{{code|lang=bash|code=
{{code|lang=bash|code=
flatpak run --branch=beta org.freecadweb.FreeCAD
flatpak run --branch=beta org.freecadweb.FreeCAD
}}
}}
<translate>


To run a specific executable (for example {{incode|FreeCADCmd}} to run without GUI) from the flatpak use the {{incode|--command}} flag:
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=
{{code|lang=bash|code=
flatpak run --command=FreeCADCmd org.freecadweb.FreeCAD
flatpak run --command=FreeCADCmd org.freecadweb.FreeCAD
}}
}}
<translate>
== Repository ==
== Repository ==
Line 55: Line 68:
* [[Snap|Snap]] panckages
* [[Snap|Snap]] panckages


</translate>
[[Category:Packaging{{#translation:}}]]
[[Category:Packaging{{#translation:}}]]
[[Category:Developer Documentation{{#translation:}}]]
[[Category:Developer Documentation{{#translation:}}]]

Revision as of 11:41, 25 July 2022

Other languages:

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