xbps-remove
XBPS utility to remove packages. tldr-pages
On Linux
Linux
Remove a package
xbps-remove packageIdentifyRemove a package and its dependencies
xbps-remove --recursive packageIdentifyRemove orphan packages (installed as dependencies but no longer required by any package)
xbps-remove --remove-orphansIdentifyRemove obsolete packages from the cache
xbps-remove --clean-cacheIdentify