$linuxjunkies
>

flatpak(1)

Build, install, and manage Flatpak applications and runtimes in isolated environments.

UbuntuDebianFedoraArch

Synopsis

flatpak [OPTION] COMMAND [ARG]...

Description

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. It provides a way to package applications with their dependencies, ensuring they run consistently across different distributions while maintaining security through containerization.

Common commands include install, run, update, list, and uninstall. Applications and runtimes are identified by their reverse domain notation IDs (e.g., org.gnome.Calculator).

Common options

FlagWhat it does
--helpshow help message and exit
--versionprint the installed Flatpak version
--verboseprint debug information during command execution
--systemoperate on the system installation (default)
--useroperate on the user installation
-y, --assume-yesautomatically answer yes to all prompts

Examples

install GNOME Calculator from the Flathub repository

flatpak install flathub org.gnome.Calculator

launch the installed Calculator application

flatpak run org.gnome.Calculator

list all installed Flatpak applications

flatpak list --app

update all installed Flatpak apps and runtimes

flatpak update

remove the Calculator application

flatpak uninstall org.gnome.Calculator

add the Flathub repository as a remote source

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

show detailed information about an installed app

flatpak info org.gnome.Calendar

grant Files app access to the host filesystem

flatpak override --filesystem=host org.gnome.Files

Related commands