| XBPS(7) | Miscellaneous Information Manual | XBPS(7) |
xbps —
Introduction and concepts
The X Binary Package System (XBPS) is a binary package system designed and implemented from scratch. Its goal is to be fast, easy to use, bug-free, featureful and portable as much as possible.
The primary interface of XBPS is its suite of tools, including xbps-install(1) for installing packages, xbps-remove(1) for removing packages, and xbps-query(1) for searching repositories and querying package properties. A C library is also available, called libxbps.
An XBPS package is a compressed archive of the package's files and metadata.
Packages can also include scripts that run during installation and
removal, during the “configuration” phase. These scripts can
be re-run with xbps-reconfigure
-f.
Packages can be checked for issues with
xbps-pkgdb(1). If a package reports
errors, it should be reinstalled with xbps-install
-f.
Packages can mark files as conf_files, which will prevent them from being replaced upon package update if modified.
Packages can be referred to in several ways. A package expression is a form to match a pattern; currently xbps supports 3 ways to specify them:
The first repository matching the package expression wins.
An installed package can have some specific modes of operation. Package modes can be changed with xbps-pkgdb(1). Currently the following modes are available:
-f,
--force option. To list packages in this mode use
xbps-query -H.xbps-remove
-o. To list packages in this mode use
xbps-query -m.xbps-query
--list-repolock-pkgs.An XBPS repository is a directory containing XBPS packages and an <arch>-repodata repository index file. If the repository is remote (served via a web server), packages must be RSA-signed.
In XBPS configuration and command-line flags, repositories are
specified by a complete url or absolute path to the directory where the
<arch>-repodata resides. To synchronize configured
remote repositories locally, use xbps-install
-S.
Repositories are created and managed with xbps-rindex(1).
xbps-alternatives(1), xbps-create(1), xbps-dgraph(1), xbps-fbulk(1), xbps-fetch(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1), xbps-reconfigure(1), xbps-remove(1), xbps-rindex(1), xbps.d(5), https://github.com/void-linux/xbps, https://xbps-api-docs.voidlinux.org
Juan Romero Pardines
<xtraeme@gmail.com>
Duncan Overbruck
<mail@duncano.de>
Probably, but I try to make this not happen. Use it under your own responsibility and enjoy your life.
Report bugs at https://github.com/void-linux/xbps/issues
| May 20, 2025 | x86_64 |