As you may know, Flatpak is a modern application distribution system for Linux, designed to make the software available for all the Linux systems where it can be installed.
Unlike traditional package management systems tied to specific Linux distributions, Flatpak provides a sandboxed environment where applications can run securely and independently of the underlying system libraries. While the Apt package manager relies on the libraries already present in the OS, Flatpak packages ship all the required libraries embedded in the package (so require more disk space, but are not OS-specific).
This approach ensures consistency, reduces dependency conflicts, and enhances security by isolating applications from the core system. Flatpak is especially popular for providing access to the latest software versions and bridging gaps between different Linux ecosystems.
Flatpak applications are hosted in repositories called remotes, with Flathub being the most prominent and widely used repository. By adopting Flatpak, developers can ensure their applications are accessible to a broader audience without needing to package them separately for each Linux distribution.
For users, Flatpak offers a straightforward way to manage applications, keep them up-to-date, and maintain system stability.
0. How to install and configure Flatpak on Ubuntu, Linux Mint, Debian and derivative systems:
sudo apt update
sudo apt install flatpak
How that flatpak is installed, the first thing we need to do, in order to use it, is to add a remote (repository). The most popular flatpak repository is flathub.
1. Add a New Remote (Repository)
In order to add a remote (repository), we need to use the below command:
flatpak remote-add [name] [url]
In our case, this is the command for adding Flathub:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

As you may notice, no output is provided after this command is executed (because of the –if-not-exists argument).
2. Install a Flatpak Package
In the below example, we will be installing Calibre, an open-source ebook management tool.
The command syntax is the following:
flatpak install [remote] [application_ID]
To install calibre, we need to use the below command:
flatpak install flathub calibre
This installs Calibre from the Flathub repository.

Other apps available via Flatpak:
Kile:
flatpak install flathub org.kde.kile
flatpak install flathub org.mixxx.Mixxx
flatpak install flathub com.sigil_ebook.Sigil
flatpak install flathub com.anydesk.Anydesk
flatpak install flathub net.scribus.Scribus
GIMP:
flatpak install flathub org.gimp.GIMP
flatpak install flathub org.gnome.Shotwell
flatpak install flathub com.sweethome3d.Sweethome3d
sudo flatpak install flathub com.github.tenderowl.norka
flatpak install flathub org.audacityteam.Audacity
flatpak install flathub org.texstudio.TeXstudio
sudo flatpak install flathub net.waterfox.waterfox
flatpak install flathub org.blender.Blender
sudo flatpak install flathub org.qbittorrent.qBittorrent
flatpak install flathub com.skype.Client
3. Search for Flatpak Packages
Another useful command is to know how to search for flatpak applications. This searches only inside the remotes (repositories) that we already have. In our case, inside Flathub.
Command syntax:
flatpak search [keyword]
For example, let’s search for GIMP:
flatpak search gimp
Next, if we needed, we could install gimp with flatpak install org.gimp.GIMP.

4. List Installed Packages
In many cases, it’s useful to know how to see list all the flatpak packages installed on the system.
The command is the following:
flatpak list
This displays all the Flatpak applications installed on your system along with their details.

5. Run an Installed Flatpak Application
There are cases when you install apps directly via Flatpak, but you need to logoff and log back on, in order to be able to find them with search. To avoid this, you can run the flatpak apps via the terminal.
Command syntax:
flatpak run [application]
As we already know how to use flatpak list, we will now run calibre directly via the flatpak package:
Command syntax:
flatpak run application_ID

In our case:
flatpak run com.calibre_ebook.calibre
6. Update Flatpak packages
To update all the packages that were installed via flatpak, you need to use the following:
flatpak update

Or, you can update only a specific flatpak package with the below command.
Command syntax:
flatpak update application_ID
The below command updates qBittorrent (but now, there isn’t any update available):
flatpak update org.qbittorrent.qBittorrent

7. Uninstall/Remove a Flatpak Package
The Command Syntax for removing or uninstalling a package is the below one:
flatpak uninstall [application]
For example, the below command removes the Norka Editor (only the application, the custom user files will not be deleted):
flatpak uninstall Norka

But there are cases when we also want to remove the configuration files associated with some package, not just the software itself:
In this case, we need to use the –delete-data argument. Command syntax:
flatpak uninstall --remove-data [application]
To remove calibre and everything associated with it, we run the below command:
flatpak uninstall --remove-data calibre

8. List Remote Flatpak Repositories
To see all the available flatpak repos, you need to run the below command.
flatpak remotes
I only have flathub added, that is why you don’t see more than that.

9. Check Flatpak Package Information
Sometimes, you might need to find out more information about an installed flatpak application.
Command syntax:
flatpak info [application]
In this example, I am looking for information about calibre
flatpak info com.calibre_ebook.calibre

10. Check The Flatpak History
To see what has been installed and uninstalled via Flatpak, use the below command.
flatpak history

Conclusion
Flatpak simplifies application management on Linux, and mastering these commands can significantly enhance your experience. Whether installing, updating, or troubleshooting, these commands have you covered.
Pingback: How To Install qBittorrent 5.0.3 On Ubuntu 24.10, Ubuntu 24.04 And Derivative Systems
Pingback: How To Install Mixxx 2.5.0 On Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems (Via PPA or Flatpak)
Pingback: How To Install GIMP 2.10.38 On Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems (via Snap or Flatpak)
Pingback: How To Install Sigil 2.4 on Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04, Linux Mint And Derivative Systems (via Flatpak)
Pingback: How to Install Anydesk 6.4 On Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems (via Repo Or Flatpak)
Pingback: How To Install Scribus 1.6.3 On Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems (via PPA or FlatPak)
Pingback: How To Install Shotwell 0.32.10 On Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems (via PPA or Flatpak)
Pingback: How To Install Calibre 7.24 On Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems (Via Flatpak or PPA)
Pingback: Install Kile on Ubuntu Via Flatpak - iDoLinux
Pingback: How to Install Skype on Ubuntu, Linux Mint, Debian, and Derivative Systems - iDoLinux
Pingback: How to Install Blender 4.3.2 on Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivatives (via Snap And Flatpak ) - iDoLinux
Pingback: How To Install DigiKam 8.6 On Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04, Linux Mint And Derivative Systems - iDoLinux
Pingback: How To Install GNU Octave 9.4 on Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems - iDoLinux
Pingback: How To Install Calibre 7.26 On Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems (Via Flatpak or PPA) - iDoLinux
Pingback: How To Install Calibre 8.0 On Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems (Via Flatpak or PPA) - iDoLinux
Pingback: GIMP 3.0.2 Has Been Released, Coming With Small Fixes Only (+Installation Instructions) - iDoLinux
Pingback: How Install BleachBit On Ubuntu And Derivative Systems via Flatpak - iDoLinux
Pingback: How To Install GNU Octave 10.1.0 on Ubuntu 24.10, Ubuntu 24.04, Ubuntu 22.04 And Derivative Systems - iDoLinux