Disclaimer: MashTips is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission at no extra cost to you.

Home Computer How to Install Flatpak on Ubuntu and Find Flatpak Apps

How to Install Flatpak on Ubuntu and Find Flatpak Apps

If you’ve been around on the Linux platform for a while, you’re probably aware of Flatpaks. The list of app developers adopting Flatpak to distribute their apps on Linux is growing by the day and already includes popular names like Slack, Telegram, Spotify, Steam, etc. It’s very likely that you’ll find an app you want to install which is only available as a Flatpak.

Here’s how you can install Flatpak on Ubuntu and then install Flatpak apps.

Install Flatpak on Ubuntu 18.04+

Ubuntu 18.04 already comes with Flatpak support built-in. You can install it directly from the Software Center. Although you won’t be able to search for it, you can use the link Install Flatpak on Ubuntu from the Software Center. Alternatively, you can launch the terminal and run the following command.

sudo apt install flatpak

Install Latest Flatpak On Ubuntu (All Versions)

Although Flatpak is included in the official Ubuntu repository, it’s not the latest version like almost every other app in the official repository. The reason is the same, any app updates have to be first approved by Canonical.

Furthermore, previous versions of Ubuntu do not support Flatpaks out of the box.  These and any other Debian based distros can use the official PPA to install Flatpak. Ubuntu 18.04+ users can use the PPA to get the latest version of Flatpak.

To install Flatpak, open up a terminal and enter the following commands one by one to add the PPA, update the system and install Flatpak, in that order.

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

Once Flatpak is installed, you might also want to add the Flatpak repository. This ensures that you can easily download and install apps available as Flatpak. You can add this repository by using this command:

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

Also read: How to Enable Fractional Scaling in Ubuntu 19.04

Install Flatpak Apps on Ubuntu via Terminal

Flatpak apps can be installed via a simple command from the Terminal:

flatpak install <package-name>

Flatpaks can also be searched and installed directly from the repositories using the Terminal and commands.

Install Flatpak Apps on Ubuntu via Software Center

Not everyone is very comfortable with the command line. If you’re using GNOME, which is the default desktop environment on Ubuntu now, you can enable Flatpak support in the Software Center.

This lets you double-click on a download flatpak package and install it via the Software Center like you would install a Debian package. You’ll have to install the flatpak plugin and you can do it using this command:

sudo apt install gnome-software-plugin-flatpak

Restart Software Center when the plugin has been installed. From now on, you can double-click a .flatpakref package file and it will open up in the Software Center as any .deb file does.

You can also right-click on the file and select Open with Software Install. When the package opens up in Software Center, you can click on the Install button to directly install it.

Where to Find Flatpak Apps?

The best place to look for Flatpak packages is the official Flatpak application store known as Flathub.

When you click on an app you can find the INSTALL button that lets you download the flatpak package. However, you don’t necessarily need to if you’ve already added the flatpak repository to your system.

Scroll down and you will find the command you can directly enter into the Terminal to install it.

What is Flatpak?

Flatpak is a universal packaging format from Fedora. The official website describes Flaptak as “a next-generation technology for building and distributing desktop applications on Linux.” What Flatpak essentially is, is a new app packaging format for Linux distros such as Ubuntu like exe files are for Windows or APK for Android, for example.

It’s a containerized approach to developing Linux apps. Since the apps run in containers, they will need your permission to access your device’s hardware, such as the webcam. This also makes it possible to run multiple versions of the same app (e.g. nightly, weekly, stable, etc.). Some of the other advantages are:

  • No dependency incompatibilities
  • Faster and direct app updates, since you don’t have to wait for your distribution to approve them.
  • Access to a wider range of software

Also read: Facebook Chat in Ubuntu Linux using Thunderbird

Why Does Flatpak Exist?

Linux fans and enthusiasts have been waiting for Linux desktop to finally be a major player in the PC market. Despite having enough advantages (and a few disadvantages), and being completely free, Linux is still not a mainstream desktop OS. A major reason for this is that the Linux community expects free software, making it not very profitable for software companies.

Another reason is that it’s a little difficult to make apps for Linux. Like Windows, there are so many different kinds of hardware configurations but more problematic is the number of different Linux distributions. All these distributions require different kinds of packages and use different package managers.

For instance, Ubuntu uses the Debian package format since it is based on Debian. An app developer who distributes their app as .deb packages then will only be able to target Debian based distros like Ubuntu. They’ll have to compile the app into another package format for something like Arch Linux.

Therefore, the need for a uniform packaging format was felt, and that has resulted in Flatpak, and some others. Allan Day and Alexander Larsson who are involved with Flatpak say, “We want the Linux desktop to be a single platform that developers can easily target and we want them to be able to build and release their apps the way they want, according to their schedule and not someone else’s. And if we solve that problem, we think it will mean a lot more desktop apps being available.”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Free Newsletter

Read More...

10 Best Personal Finance Software for Windows 10

Personal finance software for Windows can benefit you in numerous ways. These budgeting software helps you to master the basics as well as manage...

This simple trick can hide any iOS App without rooting.

Good news for all iOS users, you can hide almost any application from your iPhone or iPad without using any third party apps or...

15 Alternatives for Popular Chinese Apps to Ensure Your Privacy

Many countries like India have prepped themselves to keep Chinese apps and platforms at bay, due to certain security concerns. India, as one of...

7 Best Lightweight Linux Browsers for Ubuntu Users.

Lightweight browsers are built for fast response. There are a bunch of Linux browsers for Ubuntu platform. These Linux lightweight browsers offer fast browsing...

10 Best Sports Channels for Fire Stick to Watch Live Sports

Are you paying a lot of money for your monthly cable or satellite TV subscription? Not anymore. Thanks to the Sports channels listed on...

How to Use Apple AirPods with Android?

Apple AirPods are undoubtedly the best wireless earbuds ever created for an Apple iPhone Although, when it comes to the Android smartphone, not many...