table of contents
FLATPAK(1) | flatpak | FLATPAK(1) |
NAME¶
flatpak - Build, install and run applications and runtimes
SYNOPSIS¶
flatpak [OPTION...] {COMMAND}
DESCRIPTION¶
flatpak is a tool for managing applications and the runtimes they use. In the flatpak model, applications can be built and distributed independently from the host system they are used on, and they are isolated from the host system ('sandboxed') to some degree, at runtime.
flatpak can operate in system-wide or per-user mode. The system-wide data (runtimes, applications and configuration) is located in $prefix/var/lib/flatpak/, and the per-user data is in $HOME/.local/share/flatpak/. Below these locations, there is a local repository in the repo/ subdirectory and installed runtimes and applications are in the corresponding runtime/ and app/ subdirectories.
System-wide remotes can be statically preconfigured by dropping config fragments into /etc/flatpak/remotes.d/.
In addition to the system-wide installation in $prefix/var/lib/flatpak/, which is always considered the default one unless overridden, more system-wide installations can be defined via configuration files in /etc/flatpak/installations.d/, which must define at least the id of the installation and the absolute path to it. Other optional parameters like DisplayName, Priority or StorageType are also supported.
flatpak uses OSTree to distribute and deploy data. The repositories it uses are OSTree repositories and can be manipulated with the ostree utility. Installed runtimes and applications are OSTree checkouts.
OPTIONS¶
The following options are understood:
-h, --help
-v, --verbose
--ostree-verbose
--version
--default-arch
--supported-arches
--gl-drivers
COMMANDS¶
Commands for managing installed applications and runtimes:
Commands for finding applications and runtimes:
Commands for running applications:
Commands for managing file access:
Commands for managing the dynamic permission store:
Commands for managing remote repositories:
Commands for building applications:
flatpak-build-import-bundle(1)
FILE FORMATS¶
File formats that are used by Flatpak commands:
ENVIRONMENT¶
Besides standard environment variables such as XDG_DATA_DIRS and XDG_DATA_HOME, flatpak is consulting some of its own.
FLATPAK_USER_DIR
FLATPAK_SYSTEM_DIR
FLATPAK_CONFIG_DIR
SEE ALSO¶
ostree(1), ostree.repo(5), flatpak-remote(5),
flatpak |