ArchLinux 2018.10.01: Install Flatpak for application container

This article will describe installing Flatpak for application container.

1 Install flatpak

Install flatpak package with apt.

#!/bin/sh -e

sudo pacman -Sy --noconfirm flatpak wget

2 Install runtime

Install Gnome as runtime.

#!/bin/sh -e

flatpak --user remote-add --gpg-import=gnome-sdk.gpg gnome \
flatpak --user install -y gnome org.gnome.Platform 3.24
flatpak --user install -y gnome org.gnome.Sdk 3.24

3 Install application

Install gedit as application.


flatpak --user remote-add --gpg-import=gnome-sdk.gpg gnome-apps \
flatpak --user install -y gnome-apps org.gnome.gedit stable

flatpak run org.gnome.gedit --version

The gedit version will be displayed.

gedit - Version 3.22.0