mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
959 B
Plaintext
30 lines
959 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|