Difference between revisions of "Flatpak"

From Dogtag
Jump to: navigation, search
m
m (Creating Flatpak Application)
Line 15: Line 15:
 
</pre>
 
</pre>
  
= Creating Flatpak Application =
+
= Creating Flatpak Package =
 +
 
 +
To install Flatpak builder:
  
 
<pre>
 
<pre>
 
$ dnf install flatpak-builder
 
$ dnf install flatpak-builder
 +
</pre>
 +
 +
To build Flatpak package:
 +
 +
<pre>
 +
$ flatpak-builder build-dir org.dogtagpki.pki.server.json
 
</pre>
 
</pre>
  

Revision as of 20:26, 22 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 build Flatpak package:

$ flatpak-builder build-dir org.dogtagpki.pki.server.json

See Also