commands.sh

xbps-query

linux

XBPS utility to query for package and repository information. See also: `xbps`.

More info →

Options (4)

-s, --searchboolean

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

Example: xbps-query {{[-s|--search]}} {{regex|keyword}} --repository --regex
-S, --showboolean

Show information about an installed package

Example: xbps-query {{[-S|--show]}} {{package}}
-l, --list-pkgsboolean

List packages registered in the package database

Example: xbps-query {{[-l|--list-pkgs]}}
-m, --list-manual-pkgsboolean

List explicitly installed packages (i.e. not automatically installed as dependencies)

Example: xbps-query {{[-m|--list-manual-pkgs]}}

Examples (5)

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

xbps-query [-s|--search] regex|keyword --repository --regex

Show information about an installed package

xbps-query [-S|--show] package

Show information about a package in remote repositories

xbps-query [-S|--show] package --repository

List packages registered in the package database

xbps-query [-l|--list-pkgs]

List explicitly installed packages (i.e. not automatically installed as dependencies)

xbps-query [-m|--list-manual-pkgs]
made by @shridhargupta | data from tldr-pages