Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Package Management Tricks

Jeffrey Baitis edited this page Jul 27, 2020 · 1 revision

If you're coming from another Linux, check out the Void Linux Rosetta Stone.

Here are some additional tips for using Void Linux:

Try vpm

vpm is a very convenient wrapper around multiple xbps and related commands with a more natural language format.

Missing libraries or files

Let's suppose you want to figure out what package contains a given file. xbps-query -o will work -- but only for locally installed packages. xlocate provides a great way to search for a missing dependency. vpm whatprovides actually invokes xlocate to search through the repository's contents.

For example, your error message may read:

PAM unable to dlopen(/usr/lib/security/pam_gnome_keyring.so): /usr/lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory

In order to figure out what you need to install:

> xlocate /usr/lib/security/pam_gnome_keyring.so
gnome-keyring-3.36.0_1	/usr/lib/security/pam_gnome_keyring.so