XBPS utility to handle alternatives
TABLE OF CONTENTS
xbps-alternatives utility lists or sets the
alternatives provided by installed packages. Alternatives are classified by
groups, and a group contains a number of symbolic links which are applied when
the group is set.
When a package is installed its alternative groups are registered
in the package database (pkgdb).
When a package is removed its alternative groups are unregistered
from the package database (pkgdb). If there are no more alternative groups,
the package database removes the references. If there were alternative
groups registered previously, the previous package is set as default
Only one of the following modes can be used at a time.
- Specifies a path to the XBPS configuration directory. If the first
character is not '/' then it's a relative path of
- Enables extra debugging shown to stderr.
- Alternative group name to match. To be used with the
- Show the help message.
- Specifies a full path for the target root directory.
- Enables verbose messages.
- Show the version information.
--list [PKG [-g group]]
- Lists all current alternative groups or only from
PKG, or just a specific group, if the
--group option is
--set PKG [-g
- Set alternative groups specified by PKG or just a
specific group, if the
--group option is set.
Juan Romero Pardines <firstname.lastname@example.org>
Probably, but I try to make this not happen. Use it under your own
responsibility and enjoy your life.
- Default configuration directory.
- Default system configuration directory.
- Package files metadata.
- Default package database (0.38 format). Keeps track of installed packages
- Default cache directory to store downloaded binary packages.
Report bugs at https://github.com/voidlinux/xbps/issues