APT and YUM repositories for the FlagOS software stack.
This endpoint is a sandbox at
https://shiptux.github.io/flagos-packaging. The production endpoint is planned at
https://flagos-ai.github.io/flagos-packaging; both
serve the same package set during the migration period.
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://shiptux.github.io/flagos-packaging/pubkey.gpg | \
sudo gpg --dearmor -o /etc/apt/keyrings/flagos.gpg
echo "deb [signed-by=/etc/apt/keyrings/flagos.gpg] \
https://shiptux.github.io/flagos-packaging/apt stable main" | \
sudo tee /etc/apt/sources.list.d/flagos.list
sudo apt update
sudo apt install libflagcx-nvidia python3-flagscale python3-flagtree-nvidia
Pick the .repo file matching your distro
(available: el8 el9 fedora43 openanolis8 opencloudos9 openeuler2403):
sudo curl -fsSL https://shiptux.github.io/flagos-packaging/flagos-<distro>.repo \
-o /etc/yum.repos.d/flagos.repo
sudo dnf makecache -y # imports the FlagOS signing key
sudo dnf install libflagcx-nvidia python3-flagscale python3-flagtree-nvidia
e.g. flagos-openeuler2403.repo for openEuler 24.03,
flagos-fedora43.repo for Fedora 43. The curl form works on
both dnf4 and dnf5 and needs no dnf-plugins-core.
flagos-<distro>.repo — per-distro dnf repo files (see above)Full guide: install.md (中文). Compatibility matrix: docs/compatibility-status.md.