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.

flatpak

Install Flatpak On Ubuntu

To install flatpak on ubuntu, you need to open your terminal app.

For Ubuntu 18.10 & Later:

Type the below command in terminal and hit enter.

sudo apt update

Type your ubuntu password and hit enter. Then install flatpak by typing this command in terminal.

sudo apt install flatpak

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.

Also Read:  Sunamu - Display Lyrics for Currently Playing Music

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

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 https://flathub.org/repo/flathub.flatpakrepo

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 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