LinuxCommandLibrary

xbps

xbps

TLDR

Install packages and synchronize them with the remote repository

$ xbps-install --sync [package_name1] [package_name2]
copy


Search for a package in the remote repository
$ xbps-query --repository -s [package_name]
copy


Remove a package, leaving all of its dependencies installed
$ xbps-remove [package_name]
copy


Remove a package and all of its dependencies recursively that are not required by other packages
$ xbps-remove --recursive [package_name]
copy


Synchronize your repository databases and update your system and dependencies
$ xbps-install --sync --update
copy


Remove packages that were installed as dependencies and aren't currently needed
$ xbps-remove --remove-orphans
copy


Remove obsolete packages from the cache
$ xbps-remove --clean-cache
copy

Copied to clipboard