LinuxMint 19: Install Flatpak for application container

This article will describe installing Flatpak for application container.

1 Install flatpak

Install flatpak package with apt.

$ sudo apt install -y flatpak

2 Install runtime

Install runtime after importing GPG key. The org.gnome.Platform is runtime for running application. The org.gnome.Sdk is runtime for developing application.

$ wget https://sdk.gnome.org/keys/gnome-sdk.gpg
$ flatpak --user remote-add --gpg-import=gnome-sdk.gpg gnome \
          https://sdk.gnome.org/repo/
$ flatpak --user install gnome org.gnome.Platform 3.24
$ flatpak --user install gnome org.gnome.Sdk 3.24

3 Install application

Install application after importing GPG key. This article installs org.gnome.gedit.

$ flatpak --user remote-add --gpg-import=gnome-sdk.gpg gnome-apps \
          https://sdk.gnome.org/repo-apps/
$ flatpak --user install gnome-apps org.gnome.gedit stable

Run org.gnome.gedit.

$ flatpak run org.gnome.gedit --version
gedit - Version 3.22.0