Difference between revisions of "Flatpak"

Marked this version for translation
(Updated style and added translate tags)
(Marked this version for translation)
Line 3: Line 3:
{{FlexSideContainerTemplate|__TOC__|[[File:Flatpaklogo.png|250px]]|7|1}}
{{FlexSideContainerTemplate|__TOC__|[[File:Flatpaklogo.png|250px]]|7|1}}


{{SectionTemplate|<translate>Overview</translate>|
{{SectionTemplate|<translate><!--T:1--> Overview</translate>|
<translate>
<translate>
<!--T:2-->
[https://flatpak.org/ Flatpak] is a distro independent method for packaging and distributing Linux software.
[https://flatpak.org/ Flatpak] is a distro independent method for packaging and distributing Linux software.




<!--T:3-->
Using software distributed by Flatpak has a couple of distinct advantages:
Using software distributed by Flatpak has a couple of distinct advantages:
* Software that is not compatible with current system libraries will still work when packaged as a Flatpak
* Software that is not compatible with current system libraries will still work when packaged as a Flatpak
Line 13: Line 15:




<!--T:4-->
There are some other considerations to be aware of:
There are some other considerations to be aware of:
* Flatpaks are not updated as part of your system updates, they must be updated separately
* Flatpaks are not updated as part of your system updates, they must be updated separately
Line 21: Line 24:




{{SectionTemplate|<translate>Installing Flatpak</translate>|
{{SectionTemplate|<translate><!--T:5--> Installing Flatpak</translate>|
<translate>
<translate>
<!--T:6-->
Flatpak is available in the Manjaro repos as {{ic|flatpak}} and can be installed with your favorite package manager or using the command
Flatpak is available in the Manjaro repos as {{ic|flatpak}} and can be installed with your favorite package manager or using the command
</translate>
</translate>
Line 30: Line 34:
}}
}}


{{SectionTemplate|<translate>Using Flatpak</translate>|
{{SectionTemplate|<translate><!--T:7--> Using Flatpak</translate>|
<!-- Sub 1 -->
<!-- Sub 1 -->
{{SubContentTemplate|<translate>Managing Flatpaks via Discover</translate>|2=
{{SubContentTemplate|<translate><!--T:8--> Managing Flatpaks via Discover</translate>|2=


{{FlexSideContainerTemplate|[[File:Kdediscover.png|400px]]|2=
{{FlexSideContainerTemplate|[[File:Kdediscover.png|400px]]|2=


<translate>
<translate>
<!--T:9-->
One way to manage your Flatpaks is with the application [https://userbase.kde.org/Discover Discover] from the KDE project.  You can install the package {{ic|discover}} with your favorite package manager or the command:
One way to manage your Flatpaks is with the application [https://userbase.kde.org/Discover Discover] from the KDE project.  You can install the package {{ic|discover}} with your favorite package manager or the command:


<!--T:10-->
{{UserCmd|command=pamac install discover}}
{{UserCmd|command=pamac install discover}}


<!--T:11-->
Once installed you can run '''Discover''' and you will be able to browse, install and update Flatpaks with a familiar store interface.
Once installed you can run '''Discover''' and you will be able to browse, install and update Flatpaks with a familiar store interface.
</translate>
</translate>
{{tip|<translate>Discover can also install and update software from the Manjaro repos if you install the package {{ic|packagekit-qt5}}</translate>}}
{{tip|<translate><!--T:12--> Discover can also install and update software from the Manjaro repos if you install the package {{ic|packagekit-qt5}}</translate>}}
}}
}}


|4=1}}
|4=1}}
<!-- Sub 2 -->
<!-- Sub 2 -->
{{SubContentTemplate|<translate>Managing Flatpaks via Discover</translate>|2=
{{SubContentTemplate|<translate><!--T:13--> Managing Flatpaks via Discover</translate>|2=


{{FlexSideContainerTemplate|[[File:Gnomesoftware.png|400px]]|2=
{{FlexSideContainerTemplate|[[File:Gnomesoftware.png|400px]]|2=


<translate>
<translate>
<!--T:14-->
One way to manage your Flatpaks is with the application [https://wiki.gnome.org/Apps/Software Gnome Software] from the Gnome project.  You can install the package {{ic|gnome-software}} with your favorite package manager or the command:
One way to manage your Flatpaks is with the application [https://wiki.gnome.org/Apps/Software Gnome Software] from the Gnome project.  You can install the package {{ic|gnome-software}} with your favorite package manager or the command:


<!--T:15-->
{{UserCmd|command=pamac install gnome-software}}
{{UserCmd|command=pamac install gnome-software}}


<!--T:16-->
Once installed you can run '''Software''' and you will be able to browse, install and update Flatpaks with a familiar store interface.
Once installed you can run '''Software''' and you will be able to browse, install and update Flatpaks with a familiar store interface.
</translate>
</translate>
{{tip|<translate>Gnome Software can also install and update software from the Manjaro repos</translate>}}
{{tip|<translate><!--T:17--> Gnome Software can also install and update software from the Manjaro repos</translate>}}
}}
}}


Line 66: Line 76:
}}
}}


{{SectionTemplate|<translate>Managing Flatpaks via the CLI</translate>|2=
{{SectionTemplate|<translate><!--T:18--> Managing Flatpaks via the CLI</translate>|2=
<!-- Sub 1 -->
<!-- Sub 1 -->
{{SubContentTemplate|<translate>Finding and Installing Flatpaks</translate>|
{{SubContentTemplate|<translate><!--T:19--> Finding and Installing Flatpaks</translate>|
<translate>
<translate>
<!--T:20-->
You can use the command {{ic|flatpak search}} to search for available Flatpaks.  For example, if you wanted to install VLC here is what it might look like:
You can use the command {{ic|flatpak search}} to search for available Flatpaks.  For example, if you wanted to install VLC here is what it might look like:
</translate>
</translate>
Line 81: Line 92:
   
   
<translate>
<translate>
<!--T:21-->
From this output we can see that VLC and some related applications via Flatpak.  To install VLC, we would use it's "Application ID", shown above with the command
From this output we can see that VLC and some related applications via Flatpak.  To install VLC, we would use it's "Application ID", shown above with the command
</translate>
</translate>
Line 86: Line 98:


<translate>
<translate>
<!--T:22-->
This will install the application as well as any required run-times.  Once the application is installed you should be able to run it from your menu as you would with any application.
This will install the application as well as any required run-times.  Once the application is installed you should be able to run it from your menu as you would with any application.
</translate>
</translate>
Line 91: Line 104:


<!-- Sub 2 -->
<!-- Sub 2 -->
{{SubContentTemplate|<translate>Displaying Detailed Flatpak Information</translate>|
{{SubContentTemplate|<translate><!--T:23--> Displaying Detailed Flatpak Information</translate>|
<translate>
<translate>
<!--T:24-->
You can get more details about a specific Flatpak using the command {{ic|flatpak info}}.  For example:
You can get more details about a specific Flatpak using the command {{ic|flatpak info}}.  For example:
</translate>
</translate>
Line 117: Line 131:
<!-- Sub 3 -->
<!-- Sub 3 -->


{{SubContentTemplate|<translate>Getting installed Flatpaks</translate>|
{{SubContentTemplate|<translate><!--T:25--> Getting installed Flatpaks</translate>|
<translate>
<translate>
<!--T:26-->
To show a list of all the Flatpaks and run-times that are currently installed you can use the command:
To show a list of all the Flatpaks and run-times that are currently installed you can use the command:
</translate>
</translate>
Line 125: Line 140:


<!-- Sub 4 -->
<!-- Sub 4 -->
{{SubContentTemplate|<translate>Updating Flatpaks</translate>|
{{SubContentTemplate|<translate><!--T:27--> Updating Flatpaks</translate>|
<translate>
<translate>
<!--T:28-->
Updating your collection of Flatpaks is a simple process.  Simply run the command:
Updating your collection of Flatpaks is a simple process.  Simply run the command:
</translate>
</translate>
Line 134: Line 150:
<!-- Sub 5 -->
<!-- Sub 5 -->


{{SubContentTemplate|<translate>Removing Flatpaks</translate>|
{{SubContentTemplate|<translate><!--T:29--> Removing Flatpaks</translate>|
<translate>
<translate>
<!--T:30-->
You can remove Flatpaks with the command {{ic|flatpak uninstall}}.  For example:
You can remove Flatpaks with the command {{ic|flatpak uninstall}}.  For example:
</translate>
</translate>
Line 142: Line 159:
}}
}}


{{SectionTemplate|<translate>Removing Flatpak Support</translate>|2=
{{SectionTemplate|<translate><!--T:31--> Removing Flatpak Support</translate>|2=
<translate>
<translate>
<!--T:32-->
If you no longer wish to have support for the Flatpack in your system you can remove it from the system by simply removing the package {{ic|flatpak}} with your favorite package manager or with the command
If you no longer wish to have support for the Flatpack in your system you can remove it from the system by simply removing the package {{ic|flatpak}} with your favorite package manager or with the command
</translate>
</translate>
Line 150: Line 168:


<translate>
<translate>
<!--T:33-->
To also remove any installed Flatpaks you need to remove the directories containing them. These are {{ic|/var/lib/flatpak}} and {{ic|~/.local/share/flatpak}}.  For example, you could use the command
To also remove any installed Flatpaks you need to remove the directories containing them. These are {{ic|/var/lib/flatpak}} and {{ic|~/.local/share/flatpak}}.  For example, you could use the command
</translate>
</translate>