Tutorials/Flatpak/en: Difference between revisions

From KDE UserBase Wiki
(Updating to match new version of source page)
 
(Updating to match new version of source page)
Line 36: Line 36:
We are also building "nightly" versions of most KDE applications and distributing them at [https://cdn.kde.org/flatpak 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!
We are also building "nightly" versions of most KDE applications and distributing them at [https://cdn.kde.org/flatpak 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 it's own flatpak repository usually named {{Path |<appname>-nightly}}. For every app there is a flatpakref file ({{Path |<appid>.flatpakref}}) which you can easily download and open with your software center for installation.
Every app has it's own flatpak repository usually named {{Path |<appname>-nightly}}. For every app there is a flatpakref file ({{Path |<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:
It is also possible to install the app from the terminal:
{{Input|
{{Input|
flatpak install https://cdn.kde.org/flatpak/org.kde.kalzium.flatpakref
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
}}
}}


[[Category:System]]
[[Category:System]]
[[Category:Needs work]]
[[Category:Needs work]]

Revision as of 19:38, 10 February 2024

Other languages:

Flatpak is a solution for creating sandboxed software builds for GNU/Linux systems. You can find more information here. To learn about creating flatpaks, see our flatpak tutorial.

KDE Apps on 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

Once a flatpak package is installed, it can be run with

flatpak run org.kde.okular

and be updated to the latest version with

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 it's 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:

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