RPM related notes

1. How to check if a package is installed, e.g.
$ rpm -qa | grep -i mysql

2. checkout file list in a rpm package (not installed), e.g.
$ rpm -qpl ImageMagick-6.9.0-4.x86_64.rpm

3. check out file list in an installed rpm package
$ rpm -ql ImageMagick-6.9.0-4.x86_64

Leave a Reply

Your email address will not be published. Required fields are marked *

9 − one =