mirror of
https://github.com/Erreur32/cheat.git
synced 2024-10-31 21:11:07 +01:00
cheat/cheatsheets/rpm: small enhancements
This commit is contained in:
parent
417f47f037
commit
86ba1ad9e6
@ -8,7 +8,12 @@ rpm -e <package>
|
|||||||
rpm -qf </path/to/file>
|
rpm -qf </path/to/file>
|
||||||
|
|
||||||
# To find what files are installed by a package:
|
# To find what files are installed by a package:
|
||||||
|
rpm -ql <package>
|
||||||
rpm -qpl <rpm>
|
rpm -qpl <rpm>
|
||||||
|
|
||||||
|
# To find what packages require a package or file:
|
||||||
|
rpm -q --whatrequires <package>
|
||||||
|
rpm -q --whatrequires <file>
|
||||||
|
|
||||||
# To list all installed packages:
|
# To list all installed packages:
|
||||||
rpm -qa
|
rpm -qa
|
||||||
|
Loading…
Reference in New Issue
Block a user