1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 05:35:26 +02:00
tldr/pages/linux/urpmq.md

34 lines
940 B
Markdown
Raw Normal View History

2024-01-15 01:46:02 -03:00
# urpmq
> Query information about packages and media in Mageia.
> See also: `urpmi`, `urpmi.update`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpme`.
> More information: <https://man.linuxreviews.org/man8/urpmq.8.html>.
2024-01-15 01:46:02 -03:00
- 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 {{[-d|--requires-recursive]}} {{package}}`
2024-01-15 01:46:02 -03:00
- List the not installed packages needed for an RPM file with their sources:
`sudo urpmq {{[-d|--requires-recursive]}} -m --sources {{path/to/file.rpm}}`
2024-01-15 01:46:02 -03:00
- 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 {{[-y|--fuzzy]}} {{keyword}}`
2024-01-15 01:46:02 -03:00
- Search for a package with using its exact name:
`urpmq -g -r {{package}}`