This BASH script provides a single xbps command to simplify most common package management tasks in Void Linux. It's a simple wrapper with conventional syntax resembling Debian's apt and Fedora's dnf.
Void Linux XBPS is a collection of separate tools each using their own options: xbps-digest, xbps-query, xbps-uhelper, xbps-alternatives, xbps-fbulk, xbps-reconfigure, xbps-uunshare, xbps-checkvers, xbps-fetch, xbps-remove, xbps-create, xbps-install, xbps-rindex, xbps-dgraph, xbps-pkgdb, xbps-uchroot.
xbps <command> [arguments]
Example:
xbps install vim
xbps
check -Mun
sync (ref)
update (up) -Su
orphans
clean
status -l
list (ls)
available (la)
all (ll)
manual (lm) -m
repos (lr) -L
install (in)
reinstall (re)
remove (rm)
removeonly (ro)
configure (cfg)
hold
unhold
setauto
setmanual
search (se) -Rs
searchlocal (sl) -s
show (info) -RS
showlocal -S
files -Rf
fileslocal -f
owns -o
deps -x
revdeps -X
XBPS: 0.60.7 API: 20250629 GIT: UNSET
Whole words, partials words, shorthands, and - short options are recognized.
check
sync | refresh | ref
update | upgrade | up
orphans | orphan | removeorphans
clean | cleancache | wipe
status
list | listinstalled | ls
available | listavailable | la
all | listall | ll
manual | listmanual | lm
repos | repo | listrepos | listrepo | repolist | lr
install | inst | in | add
reinstall | reinst | re
remove | rem | rm | uninstall | uninst | un | delete | del | erase
removeonly | ro
configure | conf | reconfigure | reconf | cfg
hold
unhold
setauto
setmanual
search | se
searchlocal
show | details | detail | info | inf
showlocal
files | file
fileslocal | filelocal
owns | own
deps | dep | depends
revdeps | revdep | revdepends | rdeps | rdep | rdepends
Example:
xbps update is the same as xbps up is the same as xbps -Su
xbps refresh is the same as xbps ref is the same as xbps sync
xbps uninstall nano is the same as xbps remove nano is the same as xbps rm nano
xbps -s htop is equivalent to xbps searchlocal htop