How to Install Software trough Flatpak on Debian 10

Flatpak is a universal package system for software deployments, application virtualization, and most importantly package management that works on all Linux distros. With a Flatpak package, you don’t need to worry about any dependencies and libraries as everything is already bundled within the application itself. A notable feature of Flatpak is that all apps work in a sandbox approach which means that they all work in isolation. Among other things, this lets you run various versions of a software on the same system.

In this article, we will describe installing Flatpak on your Debian through the official Debian repository. We will also explain how you can use Flatpak to install software through Debian. command line. The article also explains how you can install a Flatpak plugin to your Debian that lets you install packages available on Flatpak through the Debian Software Manager.

We have run the commands and procedures mentioned in this article on a Debian 10 Buster system.

Install Flatpak from Official Debian Repository

Flatpak is easily available through the official Debian repository and can be installed through the command line using the apt-get command.

Open your Terminal application through the system Application Launcher Search as follows:

Debian Terminal

The next step is to update your system’s repository index through the following command:

$ sudo apt-get update

Update packages

This helps you in installing the latest available version of the software from the Internet. Please note that only an authorized user can add, remove and configure software on Debian.

Now you are ready to install Flatpak; you can do so by running the following command as sudo:

$ sudo apt-get install flatpak

Install Flatpak

The system might ask you the password for sudo and also provide you with a Y/n option to continue the installation. Enter Y and then hit enter; the software will be installed on your system. The process may, however, take some time depending on your Internet speed.

You can check the version number of the application, and also verify that it is indeed installed on your system, through the following command:

$ flatpak --version

Check Flatpak version

Install Software with Flatpak using the Command Line

As an example of installing software through the Flatpak installer using the command line, we will search for and install the GNU Octave package. GNU Octave is a high-level interpreted language, primarily intended for numerical computations.

In order for Flatpak to know where to find and download an application package from, you need to add the Flathub repository. This repository gives you a number of Flatpak applications to choose from. Add the Flathub repo as follows:

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

Add a Flatpak repository

Please provide the password and the Flathub repository will be added to your system.

You can now search for an application through the following command syntax:

$ flatpak search [application-name]

I used the following command to search for GNU Octave:

$ flatpak search octave

Search software with FlatPak

The search result gives you an Application ID which you can use in the following command to add a specific package:

$ flatpak install flathub [Application_ID]

I would install the GNU Octave package from the Flathub repo, using the flatpak installer, as follows:

$ flatpak install flathub org.octave.Octave

Install Software by using Flatpak

Enter Y to start the installation procedure. The Octave package is around 1.3 GB in size and might take long depending on your Internet speed after which it will be installed on your system.

Install Software through Flatpak using the Software Manager UI

When you search for a package through the Debian Software Manager, it does not list the packages available on Flatpak. For example, when I tried searching for the gedit editor, Debian Software only listed the package from GNOME:


If you want Flatpak support in the Software Center so that it also lists Flatpak application packages, you need to install a plugin.

Use the following command as sudo in your Terminal in order to install the required plugin:

$ sudo apt-get install gnome-software-plugin-flatpak

Install Flatpak Debian software installer plugin

Enter Y on the Y/n prompt and the plugin will be installed and also automatically configured with the Software Manager.

Now when I searched for gedit again, I could see the gedit package from Flatpak listed in the search results.

Flatpak packages shown in Debian installer

You can search for any such package and then proceed with the installation like you would for any other software.

This was all you needed to know about Flatpak. If you want, you can remove it through the following commands:

$ sudo apt-get remove flatpak

You can now access latest versions of most applications through the Flatpak universal package system for your Debian.