Use this page when you need to build, install, or bundle the Flatpak package.
Warning
Flatpak is broken right now.
pnpm support in Flatpak still needs fixing.
These dependencies are only required if you are building the Flatpak package.
flatpakflatpak-builderappstreamfor AppStream metadata validation viaappstreamcli
- Ubuntu or Debian:
sudo apt install flatpak flatpak-builder appstream - Fedora:
sudo dnf install flatpak flatpak-builder appstream - Arch Linux:
sudo pacman -S flatpak flatpak-builder appstream - NixOS: Included in
nix developthrough Nix flake
Note
There is an additional Python-based dependency,
flatpak-node-generator, but the scripts in flatpak/scripts/
automatically install it for you. The Flathub remote is also added
automatically if missing.
Make sure submodules are available before the first Flatpak build:
git submodule update --init --recursiveBuild the Flatpak with the standard defaults, then run the installed app:
python3 flatpak/scripts/flatpak_build.py
python3 flatpak/scripts/flatpak_run.pyThis builds and installs the app so it appears in software centers such as KDE Discover or GNOME Software:
python3 flatpak/scripts/flatpak_install.pyIf you already built with flatpak_build.py, you can skip the rebuild:
python3 flatpak/scripts/flatpak_install.py --skip-buildThis builds the package and creates a .flatpak bundle for distribution:
python3 flatpak/scripts/flatpak_bundle.pyIf you already built with flatpak_build.py, you can skip the rebuild:
python3 flatpak/scripts/flatpak_bundle.py --skip-build- Flatpak maintenance for the full workflow and troubleshooting
- Flatpak technical notes for manifest and runtime details
- Flatpak documentation