1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 13:02:08 +02:00
tldr/pages/linux/xbps-query.md
Lena 80147cbd87
xbps-{install,remove,query}: add page; xbps: update page (#10354)
* xbps-query: add page

* xbps: remove examples and add redirections to subpages

* xbps-install: add page

* xbps-remove: add page

* xbps*: `package_name` => `package`

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 13:26:08 +08:00

738 B

xbps-query

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

  • 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

  • Show information about an installed package:

xbps-query --show {{package}}

  • Show information about a package in remote repositories:

xbps-query --show {{package}} --repository

  • List packages registered in the package database:

xbps-query --list-pkgs

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

xbps-query --list-manual-pkgs