urpmi: add pages (#12025)
This commit is contained in:
33
pages/linux/urpmq.md
Normal file
33
pages/linux/urpmq.md
Normal 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}}`
|
Reference in New Issue
Block a user