How to Install Flatpak on Linux?
Issue
After installing a new Linux system, you notice that Flatpak is not available, so you cannot install or manage Flatpak applications.
Probable Cause
Most Linux distributions do not include Flatpak by default. You need to manually install it using your system’s package manager.
Solution
Below are instructions for installing Flatpak on the most common Linux distributions. Run these commands in your terminal.
Ubuntu, Linux Mint, Pop!_OS, Elementary OS:sudo apt update
sudo apt install flatpak
Debian:
sudo apt update
sudo apt install flatpak
Fedora:
sudo dnf install flatpak
Arch Linux, Manjaro:
sudo pacman -S flatpak
openSUSE:sudo zypper install flatpak
After installation, add the Flathub repository (recommended for most users):
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo