Flatpak is the package manager that enables users to install various applications on their Linux system from Flathub. Flathub is the default repository (application store) that offers a wide range of Flatpak applications for Linux distribution. Linux Mint has its own APT package manager but many applications are not available on it. In such a case, the user can look for the desired application in Flathub and use Flatpak to install it.
Flatpak is pre-installed on all the new versions of Linux Mint systems. However, if you are working on the old version of the Linux Mint system or the Flatpak is not pre-installed on the Linux Mint (new version), you will have to install it manually.
- How to Install Flatpak on Linux Mint
- How to Use Flatpak on Linux Mint
- How to Repair Flatpak Installation on Linux Mint
- How to Remove/Uninstall Flatpak from Linux Mint
- Final Thoughts
The Flatpak can be installed on the Linux Mint system using:
You can easily install Flatpak from the default Linux Mint repository through the “apt” command. However, you will not get Flatpak’s latest version using this method.
To install Flatpak on Linux Mint systems, follow the provided steps:
Step 1: Install Flatpak From the Linux Mint Repository
Execute the below-provided command to install Flatpak on your system from the standard Linux Mint repository:
Step 2: Verification
To verify whether the Flatpak is installed or not, check its version:
The below output indicates that the older version (as the latest version is 1.14.4) of the Flatpak has been installed on the system:
If you want to install the latest version of Flatpak on your system, you will have to add the official Flatpak PPA (Personal Package Archive) repository on your systems. The Flatpak PPA provides Flatpak packages for particular Linux distributions and allows you to install desired packages and applications.
To install Flatpak on Linux Mint using the PPA repository, use the following steps:
Step 1: Update the System Repository
First, update the Linux Mint packages before upgrading Flatpak through the given command:
Subsequently, all the system’s repository packages will be updated and upgraded:
Step 2: Add Flatpak PPA on Linux Mint
Then, import the official Flatpak PPA repository on your Linux Mint system using the provided command:
Step 3: Update the System
Next, use the following command to update the system’s packages list:
By doing so, the system’s repository packages will be updated:
Step 4: Install Flatpak on Linux Mint
Now, install Flatpak on your Linux Mint system via the given command:
Step 5: Verification
Finally, check the version of Flatpak to ensure that its latest version is installed:
As you can see, the latest version of Flatpak has been installed on the system successfully:
Important: Add/Import Flathub Repository on Linux Mint
You need to add the Flathub repository on your Linux Mint system to download packages and applications from Flathub. For this purpose, write out the below-listed command:
You can use Flatpak packet manager to install and use various Flatpak applications from Flathub. Check out the following use cases to see how Flatpak is used to manage applications on Linux Mint systems:
- Search Flatpak Applications
- Install Flatpak Applications
- Display Installed Flatpak Application Details
- Run Flatpak Applications
- Update Flatpak Applications
- List All the Installed Flatpak Applications and Packages
- Uninstall Flatpak Applications
Note: We will be using the “Spotify” application as an example to address all the above-mentioned cases.
To search for a specific Flatpak application on Linux Mint, use the “flatpak search <application-name>” command and specify the desired application name as seen below:
The below output shows the application name, description, application ID, version, and all other details:
To install the desired application from Flathub on the Linux Mint system, utilize the “flatpak install flathub <application-ID>” command. Here, we have specified the “com.spotify.Client” ID of the Spotify application to install it:
Subsequently, the Spotify application will be installed on your system:
If you want to display the information of the installed Flatpak application, you can use the “flatpak info <application-ID>” command:
In the below output, the detailed information of the installed Spotify application can be seen:
You can use the “flatpak run <application-ID>” command to run and launch the Flatpak application installed from Flathub:
It can be seen that the Spotify application has been launched successfully:
To update the specific Flatpak application on your Linux Mint system, run the “flatpak update <application-ID>” command and specify the desired application ID:
Moreover, utilize the given command to update all the installed Flatpak packages/applications on your system:
If you want to display all the installed Flatpak packages/applications with relevant information on your Linux Mint system, type out the provided command:
The below output shows the names, IDs, versions, and branches of all the installed Flatpack packages/applications:
To uninstall or remove a particular Flatpak application from the Linux Mint system, use the “flatpak uninstall <application-ID>” command:
According to the below output, the Spotify application has been uninstalled successfully:
Furthermore, if you want to uninstall all the installed Flatpak applications, run the given command:
Press “Y” to continue and remove all the Flatpak applications from the Linux Mint system:
Note: You can also access Flathub on the web to install Flathub applications on your Linux Mint systems.
While using Flatpak on Linux Mint, you may face installation issues, such as broken file packages and dependencies. To resolve such kind of Flatpak issue, the provided command can be used:
If you do not want to use Flatpak on your Linux Mint system, you can use the provided command to simply remove or uninstall it:
If you have installed Flatpak using PPA, you should remove that PPA too. Use the following command to do so:
To ensure that Flatpak has been uninstalled from your system, run the given command:
As you can see, Flatpak has been successfully removed from the Linux Mint system:
That was all about installing, using, and removing Flatpak on Linux Mint.
Flaptak is a package manager that enables you to install and run necessary applications in an isolated environment on your Linux Mint systems. You can easily install Flatpak on your system from the default Linux Mint repository using the “sudo apt install flatpak” command. However, if you want to get Flatpak’s latest version, add the official Flatpak PPA repository to your systems. You can use Flatpak to install, run, search, list, remove, and manage Flatpak applications on your Linux Mint system.
This guide has illustrated the method to install, upgrade, use, repair, and remove Flatpak on Linux Mint.
I am a technical writer with a knack for learning and exploring new technologies. As a Computer Science Graduate, my expertise lies in the fundamentals of Programming languages and Linux OS. I strive to provide users with in-depth and informative articles that can help them understand the core concepts of modern technologies.