Xbps

from Wikipedia, the free encyclopedia
X binary package system
Basic data

Maintainer Void Linux team
developer Juan RP / Duncan Overbruck / Enno Boland
Current  version 0.59.1
( April 1, 2020 )
operating system Unix-like systems such as GNU / Linux
programming language C.
category Package management
License BSD license ( Free Software )
German speaking No
xbps

X Binary Package System ( XBPS ) is a free ( BSD license ) package management system, originally developed as a replacement for pkgsrc , and is now the package manager of Void Linux . It includes the package format and all the necessary programs to create and manage xbps packages .

background

The goal of development is to create a fast, easy-to-use, bug-free, but feature-rich and portable package manager. The following functions are available:

  • Multiple project archives, local as well as remote (via HTTP / HTTPS / FTP) are supported.
  • The remote project archives are signed with RSA.
  • The package metadata and the binary package files are hashed with SHA256.
  • The package states (similar to dpkg ) are used to reduce the risk of defective packages during installation or update.
  • It is possible to continue incomplete installations or updates;
  • the ability to extract only the files that have been updated in the package;
  • the ability to use metapackages;
  • the ability to test for incompatibilities in shared libraries;
  • the ability to replace packages;
  • the ability to exclude packages from being updated;
  • the ability to get / update configuration files;
  • the ability to reinstall packages;
  • the ability to install packages with a lower version number;
  • the ability to run scripts before and after installation, removal, or update;
  • the possibility of checking the packets for their status, missing files, hashes, missing or unresolved dependencies, free hanging or changed symbolic links and the like. Ä. to investigate.

The programs of the xbps package manager are also the basis for the build system . So-called templates are defined in a git project archive so that the binary packages can be created from them, also for computer architectures other than the installed one.

The binary packages with the extension .xbps are similar to .deb packages, packed tar archives . By default, xz is used as the packing program, but alternatives are possible. The metadata is kept as plist for the files to be installed in files.plist and for the package as props.plist .

Examples

Update the package index:

 xbps-install -S

Update all packages:

 xbps-install -u

Search packages:

 xbps-query -Rs 'Suchtext'

Install a package:

 xbps-install 'paketname'

Remove a package with all dependent packages:

 xbps-remove -R 'paketname'

List all manually installed packages:

 xbps-query -m

List all files included in the package:

 xbps-query -f 'paketname'

List all alternatives:

 xbps-alternatives -l

Operating systems that use xbps

Linux distributions:

See also

Web links

Individual evidence

  1. Release 0.59.1 . April 1, 2020 (accessed April 4, 2020).
  2. Hackover talk on Void Linux. October 25, 2014, accessed September 23, 2015 .
  3. Template repository for Void Linux. June 26, 2019, accessed June 26, 2019 .