Difference between revisions of "Flatpak"

From Dogtag
Jump to: navigation, search
m (Creating Flatpak Package)
m (See Also)
Line 40: Line 40:
 
* [http://docs.flatpak.org/en/latest/first-build.html Building your first Flatpak]
 
* [http://docs.flatpak.org/en/latest/first-build.html Building your first Flatpak]
 
* [http://blog.matbooth.co.uk/08-openjdk-in-flathub.html The State of Java in Flathub]
 
* [http://blog.matbooth.co.uk/08-openjdk-in-flathub.html The State of Java in Flathub]
 +
* [https://github.com/flathub/org.freedesktop.Sdk.Extension.openjdk11 SDK Extension for OpenJDK 11]
 
* [[Snap]]
 
* [[Snap]]

Revision as of 02:01, 23 September 2019

Installation

Flatpak is installed by default on Fedora.

Enabling Flathub Repository

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

Installing a Package

$ flatpak install flathub <package ID>

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>

See Also