Flatpak: Difference between revisions

Malix (talk | contribs)
Per-User: move GUI
Malix (talk | contribs)
Imperative: enhancement: heading
Line 48: Line 48:


=== Imperative ===
=== Imperative ===
To manage Flatpak imperatively, you can use [https://docs.flatpak.org/en/latest/using-flatpak.html the <code>flatpak</code> CLI] ([https://docs.flatpak.org/en/latest/flatpak-command-reference.html <code>flatpak</code> CLI Reference Documentation])


==== Example ====
==== Terminal User Interface ====
To manage Flatpak imperatively, you can use [https://docs.flatpak.org/en/latest/using-flatpak.html the <code>flatpak</code> command] ([https://docs.flatpak.org/en/latest/flatpak-command-reference.html <code>flatpak</code> Command Reference Documentation])
 
===== Example =====
<syntaxhighlight lang="console">$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
<syntaxhighlight lang="console">$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
$ flatpak update
$ flatpak update
Line 59: Line 61:
==== Graphical User Interface ====
==== Graphical User Interface ====
To install Flatpaks graphically, you can use [https://apps.gnome.org/en-GB/Software/ the GNOME Software Application] ([https://search.nixos.org/packages?channel=unstable&show=gnome-software&type=packages <code>gnome-software</code> in nixpkgs])
To install Flatpaks graphically, you can use [https://apps.gnome.org/en-GB/Software/ the GNOME Software Application] ([https://search.nixos.org/packages?channel=unstable&show=gnome-software&type=packages <code>gnome-software</code> in nixpkgs])
<small>'''Note''': installing Flatpaks through it is imperative</small>


==== Configure Repositories Globally ====
==== Configure Repositories Globally ====