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
Managor ae436c1b00
linux/*: add option placeholders (#16192)
* batch1

* batch2

* batch3

* batch4

* Update matchpathcon.md

* Update pages/linux/arecord.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/linux/arecord.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/linux/arecord.md

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2025-04-19 21:21:53 +00:00

33 lines
940 B
Markdown

# 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>.
- 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}}`
- List the not installed packages needed for an RPM file with their sources:
`sudo urpmq {{[-d|--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 {{[-y|--fuzzy]}} {{keyword}}`
- Search for a package with using its exact name:
`urpmq -g -r {{package}}`