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
|
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