flatpak man page

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/.

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.

Commands

Commands for managing installed applications and runtimes:

flatpak-install(1)

Install an application or a runtime from a remote or bundle.

flatpak-update(1)

Update an installed application or runtime.

flatpak-uninstall(1)

Uninstall an installed application or runtime.

flatpak-list(1)

List installed applications and/or runtimes.

flatpak-info(1)

Show information for an installed application or runtime.

Commands for running applications:

flatpak-run(1)

Run an application.

flatpak-override(1)

Override permissions for an application.

flatpak-enter(1)

Enter the namespace of a running application.

Commands for managing file access:

flatpak-document-export(1)

Grant an application access to a specific file.

flatpak-document-unexport(1)

Revoke access to a specific file.

flatpak-document-info(1)

Show information about a specific file.

flatpak-document-list(1)

List exported files.

Commands for managing remote repositories:

flatpak-remote-add(1)

Add a new remote repository.

flatpak-remote-modify(1)

Modify properties of a configured remote repository.

flatpak-remote-delete(1)

Delete a configured remote repository.

flatpak-remote-list(1)

List all configured remote repositories.

flatpak-remote-ls(1)

List contents of a configured remote repository.

Commands for building applications:

flatpak-build-init(1)

Initialize a build directory.

flatpak-build(1)

Run a build command in a build directory.

flatpak-build-finish(1)

Finalizes a build directory for export.

flatpak-build-export(1)

Export a build directory to a repository.

flatpak-build-bundle(1)

Create a bundle file from a build directory.

flatpak-build-import-bundle(1)

Import a file bundle into a local repository.

flatpak-build-update-repo(1)

Update the summary file in a repository.

flatpak-build-sign(1)

Sign an application or runtime after its been exported.

See Also

ostree(1), ostree.repo(5),

Referenced By

flatpak-build(1), flatpak-build-bundle(1), flatpak-build-commit-from(1), flatpak-builder(1), flatpak-build-export(1), flatpak-build-finish(1), flatpak-build-import-bundle(1), flatpak-build-init(1), flatpak-build-sign(1), flatpak-build-update-repo(1), flatpak-document-export(1), flatpak-document-info(1), flatpak-document-list(1), flatpak-document-unexport(1), flatpak-enter(1), flatpak-flatpakref(5), flatpak-flatpakrepo(5), flatpak-info(1), flatpak-install(1), flatpak-list(1), flatpak-make-current(1), flatpak-metadata(5), flatpak-override(1), flatpak-remote-add(1), flatpak-remote-delete(1), flatpak-remote-list(1), flatpak-remote-ls(1), flatpak-remote-modify(1), flatpak-run(1), flatpak-update(1).

flatpak flatpak