Merge pull request #221 from laomaiweng/cheatsheet-rpm-enhancements

`rpm` cheatsheet: small enhancements
This commit is contained in:
Chris Lane 2015-06-18 18:15:51 -04:00
commit c906a394cc
1 changed files with 5 additions and 0 deletions

View File

@ -8,7 +8,12 @@ rpm -e <package>
rpm -qf </path/to/file>
# To find what files are installed by a package:
rpm -ql <package>
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:
rpm -qa