linux_wiki:rpm

This is an old revision of the document!


RPM

General Information

RPM (RedHat Package Manager) has some very useful commands, despite having yum as a frontend.

Checklist

  • Enterprise Linux Distro (Red Hat based)

Query Commands

Some useful commands for querying the RPM database and packages.

Determine if a package is installed

rpm -q postfix

Find duplicate packages

rpm -qa --qf "%{NAME}.%{arch}\n" | sort | uniq -d

Show the contents of a RPM file on the local system that is not installed

rpm -qlp <package-name>.rpm

  • linux_wiki/rpm.1450289539.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)