Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 17:26, 26 July 2025 by Atmois (talk | contribs) (Add references header)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
XBPS
Release Status Maintained
Last Release 0.59.2, 2023-08-18
First Release 0.1beta1, 2009-08-17
Language(s) C
Developer(s) Void Linux
Website github.com/void-linux/xbps

Intro

The X Binary Package System (XBPS) is developed by the maintainers of Void Linux and is the package manager for their distribution. It was built from scratch, with the goals of speed, ease of use while being feature rich and portable. It is fully compatible with POSIX, SUSv2 and C99 standards[1], and is released under the BSD 2-Clause (Simplified) license (SPDX: BSD-2-Clause).

Tools

XBPS is comprised of a number of utilities that provide different functionality, the core utility programs are as follows (not a complete list):

Name Function
xbps-create Creating binary packages
xbps-dgraph Generating graphs for tools like GraphViz
xbps-install Installing and updating packages
xbps-pkgdb Reporting and fixing issues with the package database
xbps-query Querying package and repository information
xbps-reconfigure Configuration of installed package (e.g., the system C library or Linux kernel)
xbps-remove Removing packages
xbps-rindex Handling local package repositories

Usage[2]

Command Description
xbps-install -Su Synchronize with repositories and apply all available updates
xbps-query -Rs <name> Search through repository packages using the given name
xbps-install <package> Install a package by name
xbps-remove -R <package> Remove a package by name; along with its dependent packages which are no longer needed by the system
xbps-query -Rf <package> List files owned by a package
xbps-query -Ro /usr/bin/ls Find the package(s) that own/provide a file path, (e.g., the 'ls' command)
xbps-reconfigure -f glibc-locales Regenerate your locale(s) when using a GLIBC based system[3]

References