Void Linux uses XBPS to manage packages. The tool you want depends on the question. Start with xbps-query when you are looking for information. Use xbps-install when you have decided to install or update packages. The project handbook explains which queries use the local package database and which look in configured repositories.
Search both kinds of state
Use xbps-query -Rs <term> to search the configured remote repositories. A result means a package is available from those repositories. To check the state of the current machine, query the local package database rather than treating a repository result as proof of installation.
If different builds of a package matter to you, record the repository result and the installed version separately before changing anything. The distinction is useful when troubleshooting a program that another system has but yours cannot find.
Review changes before applying them
For a routine update, the Void Handbook documents xbps-install -Su with suitable permissions. Read the proposed transaction before confirming it, especially when it includes removals or significant replacements. If XBPS itself is being updated, follow the handbook’s direction to complete that update and run the process again as appropriate.
Use the manual and the handbook together: the manual shows what the flags do, and the handbook supplies context for Void’s repositories and update workflow.
Continue with Oakgen Agent
Open in Oakgen Agent
The prompt is filled in for you. Review it before sending.


