tldr/pages/linux/flatpak-builder.md

25 lines
867 B
Markdown
Raw Permalink Normal View History

2021-06-05 23:23:42 +01:00
# flatpak-builder
> Help build application dependencies.
> More information: <https://docs.flatpak.org/en/latest/flatpak-builder-command-reference.html>.
- Build a Flatpak and export it to a new repository:
`flatpak-builder {{path/to/build_directory}} {{path/to/manifest}}`
- Build a Flatpak and export it to the specified repository:
`flatpak-builder --repo={{repository_name}} {{path/to/build_directory}} {{path/to/manifest}}`
- Build a Flatpak and install it locally:
`flatpak-builder --install {{path/to/build_directory}} {{path/to/manifest}}`
- Build and sign a Flatpak and export it to the specified repository:
`flatpak-builder --gpg-sign={{key_id}} --repo={{repository_name}} {{path/to/manifest}}`
- Run a shell inside of an application sandbox without installing it:
`flatpak-builder --run {{path/to/build_directory}} {{path/to/manifest}} {{sh}}`