LinuxCommandLibrary

xbps-query

Query Void Linux package information

TLDR

Search for a package in remote repositories

$ xbps-query -s [regex|keyword] --repository --regex
copy
Show information about an installed package
$ xbps-query -S [package]
copy
Show information about a package in remote repositories
$ xbps-query -S [package] --repository
copy
List packages registered in the package database
$ xbps-query -l
copy
List explicitly installed packages
$ xbps-query -m
copy

SYNOPSIS

xbps-query [options] [package]

DESCRIPTION

xbps-query queries package information from the XBPS package management system. It can search repositories, display package details, list installed packages, and show dependency information.
The tool is essential for exploring available packages and understanding the current system state on Void Linux.

PARAMETERS

-s, --search _pattern_

Search for packages matching pattern
-S, --show _package_
Show package information
-l, --list-pkgs
List all installed packages
-m, --list-manual-pkgs
List explicitly installed packages (not dependencies)
-L, --list-repos
List configured repositories
-f, --files _package_
List files installed by package
-x, --deps _package_
Show package dependencies
-X, --revdeps _package_
Show reverse dependencies
--repository
Query remote repositories instead of local
--regex
Enable regex pattern matching

CAVEATS

Repository queries require network access. Use --repository flag to query remote packages. Part of the XBPS package management system for Void Linux.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community