How to install flatpak on ubuntu

Flatpak is the new framework for desktop applications that allows the same app to be installed on different Linux distributions, including different versions. You need to install Flatpak, before you can install applications with Flatpak. Using flatpak you can build and distribute desktop applications on Linux. Some of the advantages of flatpak are just build your application and distribute it to the entire Linux desktop market, full control over dependencies and future-proof builds.


Install Flatpak On Ubuntu

Open your terminal command-line application. You can open it using the ctrl+alt+t keys or via the show applications menu in Ubuntu Linux system.

For Ubuntu 18.10 & Later:

In the terminal command-line app run below command.

sudo apt update

Then type your Ubuntu password if needed and hit the enter key. After that install the latest version of flatpak using below command in the terminal application.

sudo apt install flatpak

After the installation, restart your Ubuntu system. Now your are ready to install any flatpak app in your Ubuntu system.

For Older Ubuntu Versions:

Type the below command in the terminal and hit enter to add the alexlarsson/flatpak ppa in your ubuntu system.

sudo add-apt-repository ppa:alexlarsson/flatpak

Type your ubuntu password and hit enter. Then press enter to accept the process. Then type below command in terminal and press enter.

sudo apt update

Finally install flatpak by typing this command in terminal.

sudo apt install flatpak

Type Y and hit enter to confirm the installation. After the successful installation of flatpak restart your Ubuntu.

Also Read:  PDF4QT PDF Editor Application

Add the Flathub repository

Then you can add Flathub repository in your system by using this command. Flathub provides lot of Flatpak apps.

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

Restart your system.

Install Gnome Software Flatpak plugin:

If you want to install the flatpak apps without the need of command line, you need to install the Gnome Software Flatpak plugin in your ubuntu.

To install it run the below command in terminal.

sudo apt install gnome-software-plugin-flatpak

After the successful installation, all don’t forget to restart your Ubuntu computer.


Watch Video

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.

This Post Has 324 Comments

  1. netg00r00

    BTW, I’m running Linux Mint 17 with all the recent updates.

  2. netg00r00

    I’ve tried this a couple times and I keep getting the error “unable to locate package flatpak”. :/

Leave a Reply