HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

flatpak-builder — Help build application dependencies. More information: <https://docs.flatpak.org/en/latest/flatpak-b

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbuilddependenciescliflatpak-builderhelpmoreapplication
linux

Problem

How to use the flatpak-builder command: Help build application dependencies. More information: <https://docs.flatpak.org/en/latest/flatpak-builder-command-reference.html>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/flatpak-builder

Revisions (0)

No revisions yet.