LinuxCommandLibrary

xbps-query

XBPS utility to query for package and repository information.

TLDR

Search for a package in remote repositories using a regular expression or a keyword (if --regex is omitted)

$ xbps-query --search [regular_expression|keyword] --repository --regex
copy


Show information about an installed package
$ xbps-query --show [package]
copy


Show information about a package in remote repositories
$ xbps-query --show [package] --repository
copy


List packages registered in the package database
$ xbps-query --list-pkgs
copy


List explicitly installed packages (i.e. not automatically installed as dependencies)
$ xbps-query --list-manual-pkgs
copy

Copied to clipboard