Sven is a package manager for Seven OS (LFS/BLFS-based systems) that integrates official Arch repositories and AUR workflows while preserving non-systemd environments.
- Dependency resolution with rollback snapshots
- systemd dependency filtering for SysVinit/OpenRC hosts
- Official repo + AUR install flow
- Mirror management and cache reuse
- BLFS/LFS adoption helpers for existing systems
git clone https://github.com/haroldmth/sven.git
cd sven
sudo bash install.shsudo bash install.sh --help--sven-version <ver>: install a specific Sven release binary (example:1.2.0)--skip-adopt: skip running adoption scripts--no-sync/--quick: skip finalsven sync--verbose: detailed execution output
sven install <pkg ...>: install packagessven install <pkg> --version <ver>: install a specific package version when availablesven remove <pkg ...>: remove packagessven upgrade: full system upgradesven sync: refresh sync databasessven search <query>: search packagessven info <pkg>: package metadatasven check-version <pkg>: compare installed/sync/AUR/cache package versionssven version: show Sven + runtime tool versionssven check-update: check for newer Sven releasesven self-update: update Sven binary
Sven includes scripts to register existing LFS/BLFS software into LocalDB.
-
scripts/adopt_lfs.py--dry-run: preview changes only
-
scripts/adopt_blfs.py--min-score <n>: tighten or loosen matching confidence--dry-run: preview changes only-y/--yes: non-interactive mode
Examples:
PYTHONPATH=. python3 scripts/adopt_lfs.py --dry-run
PYTHONPATH=. python3 scripts/adopt_blfs.py --min-score 8 --dry-run
PYTHONPATH=. python3 scripts/adopt_blfs.py -y- Config:
/etc/sven/ - Databases:
/var/lib/sven/ - Cache:
/var/cache/sven/ - Logs:
/var/log/sven/
sven versionis for Sven/runtime tooling status.sven check-version <pkg>is for package version visibility across sources.- For source/build and deeper platform details, see
INSTALL.md.