urpmi: add pages (#12025)

This commit is contained in:
Vitor Henrique
2024-01-15 01:46:02 -03:00
committed by GitHub
parent 1a1ed6d01d
commit 7aa21e2f07
7 changed files with 158 additions and 0 deletions

33
pages/linux/urpmq.md Normal file
View File

@@ -0,0 +1,33 @@
# urpmq
> Query information about packages and media in Mageia.
> See also: `urpmi`, `urpmi.update`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpme`.
> More information: <https://wiki.mageia.org/en/URPMI#urpmq>.
- Display information about an installable package:
`urpmq -i {{package}}`
- Display direct dependencies of a package:
`urpmq --requires {{package}}`
- Display direct and indirect dependencies of a package:
`urpmq --requires-recursive {{package}}`
- List the not installed packages needed for an RPM file with their sources:
`sudo urpmq --requires-recursive -m --sources {{path/to/file.rpm}}`
- List all configured media with their URLs, including inactive media:
`urpmq --list-media --list-url`
- Search for a package printing [g]roup, version and [r]elease:
`urpmq -g -r --fuzzy {{keyword}}`
- Search for a package with using its exact name:
`urpmq -g -r {{package}}`