From Dogtag
Revision as of 14:56, 5 August 2020 by Edewata (talk | contribs) (Listing Installed Packages)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


$ dnf install flatpak

Enabling Flathub Repository

$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Installing a Package

$ flatpak install flathub <package ID>

Listing Installed Packages

$ flatpak list

Removing a Package

$ flatpak uninstall <package>

Creating Flatpak Package

To install Flatpak builder:

$ dnf install flatpak-builder

To install runtime dependencies:

$ flatpak install flathub org.freedesktop.Platform//18.08 org.freedesktop.Sdk.Extension.openjdk11

To build Flatpak package:

$ flatpak-builder <build dir> <manifest> --force-clean

To test the build:

$ flatpak-builder --run <build dir> <manifest> <program>

See Also