1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 20:35:27 +02:00
tldr/pages/linux/xbps-query.md
Managor ba6daef39d
*: standardize regex usage (#17328)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-07-25 08:50:06 +03:00

752 B

xbps-query

XBPS utility to query for package and repository information. See also: xbps. More information: https://manned.org/xbps-query.1.

  • 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]}}