HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

xbps-query — XBPS utility to query for package and repository information. See also: `xbps`. More information: <h

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandclixbps-queryxbpsquerypackageforutility
linux

Problem

How to use the xbps-query command: XBPS utility to query for package and repository information. See also: xbps. More information: <https://manned.org/xbps-query>.

Solution

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

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

Code Snippets

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

Context

tldr-pages: linux/xbps-query

Revisions (0)

No revisions yet.