Tutorials/Flatpak

From KDE UserBase Wiki
Revision as of 18:49, 26 February 2024 by Dduca (talk | contribs) (Created page with "Flatpak est une solution permettant de créer des versions logicielles en bac à sable pour les systèmes GNU/Linux. Vous pouvez trouver plus d'informations [https://flatpak.org/ ici]. Pour en savoir plus sur la création de flatpaks, consultez notre [https://develop.kde.org/docs/build/flatpak/tutoriel flatpak].")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:

Flatpak est une solution permettant de créer des versions logicielles en bac à sable pour les systèmes GNU/Linux. Vous pouvez trouver plus d'informations ici. Pour en savoir plus sur la création de flatpaks, consultez notre flatpak.

Apps KDE sur Flathub

We are building release versions of most KDE applications and distributing them on Flathub.

The "app store" or software center in many distributions (usually Discover on KDE Plasma) is able to install Flatpaks. You can follow the Flathub guide to setup Flatpak and Flathub on your system.

You can then search for a KDE application and it should offer to install the Flatpak version.

You may also directly open the flatpakrepo file with Discover or your otherwise favorite software center.

Here's how to install a Flatpak application from the terminal:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.kde.okular

Using Flatpak applications

After you install a Flatpak application, you can start it from the Plasma application launcher the same as other applications.

From the terminal, you can run an installed Flatpak application:

flatpak run org.kde.okular

and update it to the latest version:

flatpak update org.kde.okular

Nightly KDE apps

We are also building "nightly" versions of most KDE applications and distributing them at cdn.kde.org/flatpak. Nightly versions build the latest source code of the application, so expect some unstable development quirks; on the bright side, if you find one, you get to tell the developers so they can fix it!

Every app has its own flatpak repository usually named <appname>-nightly. For every app there is a flatpakref file (<appid>.flatpakref) inside the repository which you can easily download and open with your software center for installation.

It is also possible to install the app from the terminal, for example:

flatpak install --user --or-update https://cdn.kde.org/flatpak/kde-runtime-nightly/org.kde.Platform.flatpakref
flatpak uninstall --user -y org.kde.kalzium
flatpak install --user --or-update https://cdn.kde.org/flatpak/kalzium-nightly/org.kde.kalzium.flatpakref