doc: Add compilation instructions for Ubuntu 24.04

Clearly, Ubuntu 24.04 does not enable the `deb-src` repo by default, and `meson` is not a build dependency of `flatpak`.
This commit is contained in:
Qiheng He
2026-02-09 15:05:01 +08:00
committed by Patrick
parent b37f739721
commit f4d3a52d73

View File

@@ -16,6 +16,11 @@ a development machine that's expected to break sometimes!**
### On Debian
Make sure that `deb-src` apt sources are enabled in `/etc/apt/sources.list.d/*.sources` or `/etc/apt/sources.list`.
See distribution documentation for details.
Then use commands similar to these:
```
git clone https://github.com/flatpak/flatpak
cd flatpak
@@ -27,6 +32,8 @@ meson test -C _build
sudo meson install -C _build
```
Note: Older versions of Ubuntu/Debian, such as `Ubuntu 24.04`, may require also installing `meson` and cannot use the system `bwrap`.
### On Fedora
```