Jump to content

Flatpak

From postmarketOS Wiki

Flatpak is a tool for managing applications and the runtimes they use. In the Flatpak model, applications can be built and distributed independently from the host system they are used on, and they are isolated from the host system ('sandboxed') to some degree, at runtime.

postmarketOS supports installing Flatpaks, similar to installing package from the official Alpine repositories.

Installation

Install postmarketos-base-ui-flatpakPMOS (if not already) to install Flatpak and configure Flathub as a system-level flatpak repo.

Note postmarketOS and Alpine developers have no control over the Flatpak repositories and the software may not follow the same principles as we do. Flathub has proprietary software in their repositories.

Application management

To manage applications and repositories of Flatpak, you can use gnome-software or discover.

Why there is no postmarketOS-specific Flatpak repository

Flatpak has good sandboxing features. However, the packaging format is entirely different to APKBUILD, in syntax and in its philosophy. If we created our own Flatpak repository, we would have much more maintenance effort [1].

See also