=============================================================================== VOID LINUX (XBPS) CHEATSHEET =============================================================================== ------------------------------------------------------------------------------- 1. SYSTEM UPDATES ------------------------------------------------------------------------------- xbps-install -Su Synchronize repository databases and update all installed packages. (Equivalent to 'apt update && apt upgrade' or 'pacman -Syu'). Note: If the xbps package manager itself needs an update, it will update first and abort. Run the command a second time to complete system updates. ------------------------------------------------------------------------------- 2. PACKAGE INSTALLATION ------------------------------------------------------------------------------- xbps-install -S Download and install a package. xbps-install -Sf Force installation of a package, ignoring broken shared-library dependencies in unrelated packages. Useful during temporary repo syncs. ------------------------------------------------------------------------------- 3. SEARCH & INFORMATION ------------------------------------------------------------------------------- xbps-query -Rs Search for packages in the remote repositories. xbps-query -S Show detailed information about an installed package. xbps-query -l List all currently installed packages on the system. xbps-query -o /path/to/file Find which installed package owns a specific file. xbps-query -X List all installed packages that depend on the specified package. ------------------------------------------------------------------------------- 4. REMOVAL & CLEANUP ------------------------------------------------------------------------------- xbps-remove Remove a single package. xbps-remove -R Remove a package along with its unneeded dependencies (recommended). xbps-remove -o Remove orphan packages (dependencies no longer required by anything). xbps-remove -O Clean obsolete package files from the cache directory (/var/cache/xbps). =============================================================================== COMPARISON WITH OTHER DISTROS =============================================================================== ACTION VOID (xbps) DEBIAN (apt) ARCH (pacman) ----------------------------------------------------------------------------- Update system xbps-install -Su apt update/upgrade pacman -Syu Install package xbps-install -S apt install pacman -S Search package xbps-query -Rs apt search pacman -Ss Remove (with dep) xbps-remove -R apt autoremove pacman -Rs Clean cache xbps-remove -O apt clean pacman -Sc ===============================================================================