flatpak (1)
Leading comments
Title: flatpak Author: Alexander Larsson <alexl@redhat.com> Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> Date: 08/31/2017 Manual: flatpak Source: flatpak Language: English
NAME
flatpak - Build, install and run applications and runtimesSYNOPSIS
- flatpak [OPTION...] {COMMAND}
DESCRIPTION
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 /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
- Show help options and exit.
-v, --verbose
- Print debug information during command processing.
--ostree-verbose
- Print OSTree debug information during command processing.
--version
- Print version information and exit.
--default-arch
- Print the default arch and exit.
--supported-arches
- Print the supported arches in priority order and exit.
--gl-drivers
- Print the list of active gl drivers and exit.
COMMANDS
Commands for managing installed applications and runtimes:
- Install an application or a runtime from a remote or bundle.
- Update an installed application or runtime.
- Uninstall an installed application or runtime.
- List installed applications and/or runtimes.
- Show information for an installed application or runtime.
Commands for running applications:
- Run an application.
- Override permissions for an application.
- Enter the namespace of a running application.
Commands for managing file access:
- Grant an application access to a specific file.
- Revoke access to a specific file.
- Show information about a specific file.
- List exported files.
Commands for managing remote repositories:
- Add a new remote repository.
- Modify properties of a configured remote repository.
- Delete a configured remote repository.
- List all configured remote repositories.
- List contents of a configured remote repository.
Commands for building applications:
- Initialize a build directory.
- Run a build command in a build directory.
- Finalizes a build directory for export.
- Export a build directory to a repository.
- Create a bundle file from a build directory.
flatpak-build-import-bundle(1)
- Import a file bundle into a local repository.
- Update the summary file in a repository.
- Sign an application or runtime after its been exported.
SEE ALSO
ostree(1), ostree.repo(5),