Archives For flatpak

This simple tutorial shows how to search for, install, remove, and manager Flatpak apps in Ubuntu Linux.

Flatpak is an universal Linux package format developed by an independent community. Like snap, it runs in sandbox and bundles most runtime libraries.

Flatpak is supported out-of-the-box in many Linux Distros, e.g., CentOS, Fedora, Linux Mint. And it’s available in the most Linux repositories. Since many software developers publish binary packages via flatpak, it’s a good choice to install external apps in Ubuntu Linux.

1. Install Flatpak daemon in Ubuntu:

Unlike Snap, the flatpak daemon is not pre-installed in Ubuntu. You have to first open terminal (Ctrl+Alt+T) and run command to install it:

sudo apt install flatpak

For Ubuntu 18.04, you have to first add this PPA repository before running this command.

Then add the flathub repository via command:

flatpak remote-add --if-not-exists flathub

2. Find for Flatpak App in Ubuntu: is the de facto standard for getting applications packaged with Flatpak. You can browse flatpak apps directly in the web browser via the link below:

If you use Gnome Software instead of Snap Store in Ubuntu, installing gnome-software-plugin-flatpak package will make Flatpak apps available in Software Center.

As well, you can search for an app via flatpak search TEXT. For instance, searching for an radio app via command:

flatpak search radio

NOTE the first time running this command takes quite a few seconds to update database.

3. Install Flatpak package:

If you find an app using the web page, then there are 3 ways to install it in Ubuntu.

Option 1. Click on the “INSTALL” button to download the installer file. Then open terminal (Ctrl+Alt+T) and run command to install it:

flatpak install /PATH/TO/FILE

Since downloaded files mostly save to Downloads folder. Type ~/Downloads/ and hit TAB key twice will show you available flatpak files.

In the case, the command can be:

flatpak install ~/Downloads/com.spotify.Client.flatpakref

Option 2. You can also right-click on “INSTALL” button and copy the URL link. Then install the app via command:

NOTE: It’s NOT the page url, but the install link url.

flatpak install URL

In the case, the command will be:

flatpak install

Option 3. In each app page, scroll down! You’ll find the command line instructions.

If you found an app use flatpak search command, copy the App ID, then install it via:

flatpak install flathub App-ID

In the case the command can be:

flatpak install flathub com.spotify.Client

4. List installed flatpak apps:

For all the installed apps, you can simply run command to list them all:

flatpak list

To make it clean, only list apps via command:

flatpak list --app

And you can list installed runtime libraries, e.g., GNOME, KDE, QT platforms, via command:

flatpak list --runtime

5. Uninstall a flatpak package:

To remove a flatpak, you need to firstly get the App-ID via the previous steps. Then run command:

flatpak uninstall --delete-data App-ID

For instance, remove GIMP as the previous picture shows via command:

flatpak uninstall --delete-data org.gimp.GIMP

Removing flatpak apps WILL NOT remove the independent runtime libraries (QT, GNOME platforms, etc). You can run this command to get rid of them to free up disk space:

flatpak uninstall --unused

And to remove everything your installed, run:

flatpak uninstall --all

In addition for managing flatpak app permissions, try Flatseal.

KDE Plasma 5.12

For those who to install KDE’s Elisa music player, the official flatpak (containerised software package) is available for most Linux desktops including Ubuntu 18.04 and Ubuntu 16.04.

Elisa is a music player developed by the KDE community that strives to be simple and nice to use. We also recognize that we need a flexible product to account for the different workflows and use-cases of our users.

We focus on a very good integration with the Plasma desktop of the KDE community without compromising the support for other platforms (other Linux desktop environments, Windows and Android).

We are creating a reliable product that is a joy to use and respects our users privacy. As such, we will prefer to support online services where users are in control of their data.

How to Install Elisa player in Ubuntu via Flatpak

Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application launcher. When it opens, run following commands one by one:

1. First install Flatpak framework if not exist (For Ubuntu 16.04, add the PPA first):

sudo apt-get install flatpak

2. Then add the flathub repository:

flatpak remote-add --if-not-exists flathub

3. Finally install the Elisa music player:

flatpak install flathub org.kde.elisa

Once successfully installed, open the music player from application launcher and enjoy!


To remove the Flatpak package, simply run command in terminal:

flatpak uninstall org.kde.elisa

You may also remove the KDE platform runtime (sandboxed) via command:

flatpak uninstall org.kde.Platform

This quick tutorial shows you how to install the latest GNU Octave in Ubuntu 18.04 (or Ubuntu 16.04), while the Ubuntu repositories only provide an old version.

Since there’s no stable PPA contains the latest Octave packages, Flatpak package is the easiest way to get the numerical computation software running on Ubuntu.

Similar to Snap, Flatpak is an universal Linux package format that runs in sandbox.

1. First open terminal (Ctrl+Alt+T) and make sure Flatpak support is enabled by running command:

sudo apt-get install flatpak

Ubuntu 16.04 needs to add the Flatpak PPA first to install Flatpak framework.

2. Then add the Flathub repository, the best place to get Flatpak apps:

flatpak remote-add --if-not-exists flathub

3. Finally install GNU Octave 4.4 from the Flathub repository:

flatpak install flathub org.octave.Octave

It will take a few minutes downloading the flatpak package as well as dependency platform if you’re first time installing it.

Like normal applications, you can launch Octave from Gnome app launcher:

The flatpak co-exists with traditional Octave package. You can alternatively run it in command line:

flatpak run org.octave.Octave


You can remove the Octave flatpak package by running command:

flatpak uninstall org.octave.Octave

And remove flatpak support if you want:

sudo apt-get remove flatpak

MusicBrainz Picard is an open-source cross-platform music tagger written in Python. While Ubuntu repositories provide an old version of the software, here’s how to install the latest release (Picard 1.4.2 so far) in Ubuntu 16.04, and higher.

MusicBrainz Picard has an official Ubuntu PPA repository, however, it’s not been updated for more than a year. It now publishes the official Linux binaries only through Flathub repository.

1. Install Flatpak (Ubuntu 16.04 only).

While Ubuntu 16.04 does not ship Flatpak in the default repositories, open terminal via Ctrl+Alt+T and run commands to install it from the PPA.

  1. Add the flatpak PPA via command (type your password when prompts and hit enter):
    sudo add-apt-repository ppa:alexlarsson/flatpak

  2. Then install flatpak via commands:
    sudo apt-get update
    sudo apt-get install flatpak

2. Add the Flathub repository via command:

flatpak remote-add --if-not-exists flathub

3. Finally grab and install the music tagger via command:

flatpak install flathub org.musicbrainz.Picard

Log out and back in after installation and then launch it from Unity Dash, Gnome launcher and enjoy!


To uninstall the music tagger, run command:

flatpak uninstall --app org.musicbrainz.Picard

And remove the repository:

flatpak remote-delete flathub