1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-08 08:26:01 +02:00
tldr/pages/linux/xbps-query.md
2025-05-21 10:19:35 +03:00

776 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 regular expression or a keyword (if --regex is omitted):

xbps-query {{[-s|--search]}} {{regular_expression|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]}}