Advance

How To Install Flatpak On Ubuntu 20.04 LTS

How To Install Flatpak On Ubuntu 20.04 LTS
0
(0)

If you are a Linux fan, you can enable Flatpack to install many Linux applications easily. In this article, you will learn How To Install Flatpak On Ubuntu 20.04 LTS to build and distribute desktop applications on Linux. If you have not bought your VPS yet, choose one to enjoy this guide more.

Tutorial Install Flatpak On Ubuntu 20.04 LTS

Let’s get familiar with the newest universal package format; Flatpak.

It is usable for all Linux distributions and in this tutorial, you will learn how to install and use Flatpak on Ubuntu 20.04. In the following, you see how it is possible to create one app and distribute it to the entire Linux desktop market. If you are not a beginner, you can use the way of ”software center” instead of using the terminal which is much easier for installing applications.

Recommended Article: How to install Java with Apt on Ubuntu 20.04

Install Flatpak On Ubuntu 20.04 LTS

First, you should use your distribution’s package manager to install Flatpak.

sudo apt install flatpak

Note: Debian based distros can use the official PPA to install Flatpak:

sudo add-apt-repository ppa:Marilyn/flatpak
sudo apt update
sudo apt install flatpak

As you read above, you can use the software center instead of the command-line. You should have GNOME software plugin to let you install Flatpak via GUI if you do not access the Flatpak integration. In Ubuntu-based distributions you need to run the following command to install it:

sudo apt install gnome-software-plugin-flatpak

How To Add Flathub Repository In Linux

It is time to add the popular repository called Flathub to let you download and install applications from there. A huge collection of Flatpak applications are available in the Flathub repository. So, use the command below to add Flathub to your system:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

How To Use Flatpak On Ubuntu 20.04 LTS

In this part, you will learn how to use Flatpak in Linux. Since you will install applications from the repository, you can first search if it is available on Flathub or not. So, run the command below to search:

flatpak search application name

To bring an example, you can search for Spotify by running:

flatpak search spotify

Also, you can use the command below to install the application from the repository:

flatpak install [remotes] [Application ID]

After that, you re ready to  install Spotify as below:

flatpak install flathub com.spotify.Client

How To Run A Flatpak

To run a Flatpak application, type:

flatpak run <ApplicationID>

Again, let’s see an example:

flatpak run com.spotify.Client
Recommended Article: How To Install Flatpak On Ubuntu 20.04 LTS

You may need to view a list of  flatpak packages, use the following command to watch available packages:

flatpak list

How To Uninstall A Flatpak Application

Any time you decide to uninstall Flatpak packages, you can do this just by running the command below:

flatpak uninstall <ApplicationID>

For example to remove Spotify, type:

flatpak uninstall com.spotify.Client

How To Update Flatpak Applications

In case you need to update all Flatpak application, use the following command to update them at once:

flatpak update

And finally, type the command below to check which version of flatpak is running:

flatpak --version

 

Conclusion

In this article, you learned How To Install Flatpak On Ubuntu 20.04 LTS. You can enjoy this written in C language software to manage your packages. It is not different what distribution is your target, you can use Flatpak to simplify the management of software packages.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

View More Posts
Marilyn Bisson
Content Writer
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day