Created
March 21, 2015 11:58
-
-
Save PSJoshi/d3ca2ea9b5203e8621b4 to your computer and use it in GitHub Desktop.
RPM information
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##compare rpm versions and lot of utilities related to rpm | |
| # yum install rpmdevtools | |
| ## Information about repository - | |
| # yum install yum-utils | |
| You can also do: | |
| # yum info openssl | |
| # yumdb info 'python*' | |
| Latest installed packages with rpm | |
| $rpm -qa - -last | less | |
| List contents of rpm | |
| $rpm -qlp package_name | |
| List contents of installed rpms: | |
| $rpm -ql package_name | |
| Find out what package a file belongs: | |
| $rpm -qf file_name | |
| List all installed packages | |
| $rpm -qa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment