XBPS is the X Binary Package System: a from-scratch package manager with CLI tools and a shared library, used notably on Void Linux.
Overview
The X Binary Package System (XBPS) manages binary software packages and repositories. It was designed for speed, portability, and predictable behavior on POSIX systems, with a documented library API that backs command-line front ends.
Repositories can be local or remote over HTTP, HTTPS, or FTP, with RSA-signed indexes. Archives and repository metadata support several compression formats, with zstd as the default. SHA256 covers metadata, file lists, and packages. Operations include install and update transactions, virtual packages, holds, downgrades, replacement, configuration file handling, and scriptlets at lifecycle events.
Utilities such as xbps-install, xbps-remove, xbps-query, xbps-pkgdb, xbps-reconfigure, xbps-rindex, and xbps-create cover everyday administration, integrity checks, and local repository maintenance. Package expressions match names, exact versions, or comparators for selective upgrades.
Administrators on Void Linux and anyone packaging for Linux with static musl builds distributed for common CPU architectures rely on these tools for day-to-day software lifecycle work.
Key features
- Remote and local repositories
- RSA-signed repository indexes
- Multiple compression formats
- Transactional install and upgrade
- Package hold and downgrade
- Virtual packages and replacements
- Integrity and dependency checks
- xbps-query and xbps-install CLIs
Use cases
- Installing software on Void Linux
- Maintaining private package repos
- System-wide dependency upgrades
- Diagnosing broken package state