flatpak-builder is a command-line build tool that turns declarative manifests into complete application bundles. A manifest describes the sources, modules, build commands and metadata needed for an application, leaving the tool to retrieve and process those components in a repeatable sequence.
Projects can express their build in JSON or YAML rather than maintaining a collection of manual packaging commands. This makes flatpak-builder particularly useful for automated build infrastructure as well as developers who want builds to be reproducible across systems.
This is free and open source software.
Key Features
- Reads declarative JSON and YAML manifests describing complete application builds.
- Automatically downloads and prepares source archives, files and source-control repositories.
- Builds projects module by module in the order specified by the manifest.
- Supports multiple build systems as well as custom shell command sequences.
- Applies patches and other source modifications as part of the automated build process.
- Provides controls for environment variables, build options and module-specific configuration.
- Supports separate application and SDK configuration within manifests.
- Can clean generated files and unwanted build artefacts before exporting the finished application.
- Provides a JSON Schema for validating manifests and assisting editors with completion.
- Supports conditional build behaviour for architecture and other environmental properties.
- Can cache build results, avoiding unnecessary rebuilding of unchanged modules.
- Handles application metadata and AppStream information as part of the build workflow.
- Includes detailed command-line and manifest reference documentation.
- Uses Meson for development builds of the tool itself.
Website: github.com/flatpak/flatpak-builder
Support:
Developer: Flatpak developers
License: GNU Lesser General Public License v2.1
flatpak-builder is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Flatpak Tools | |
|---|---|
| Warehouse | Versatile GNOME-based toolbox for managing Flatpaks |
| Flatseal | Graphical utility to review and modify permissions |
| Flatpak KCM | Flatpak Permissions Management |
| Flatsweep | Flatpak leftover cleaner |
| Easy Flatpak | Manage flatpaks with a simple GUI |
| FlatSync | Synchronize flatpak applications between devices |
| Bazaar | App store for GNOME |
| jdFlatpakSnapshot | Create snapshot of a Flatpakās data |
| Flatpak External Data Checker | Check external sources for updates in Flatpak app manifests |
| Outlet | Application management client for Flatpak |
| jdPermissionStoreEdit | Graphically view and edit Flatpak permission store entries |
| flatpak-builder | Build Flatpak applications using source manifests |
| Door Knocker | Check available XDG desktop portals |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.