====== RPM ====== **General Information** RPM (RedHat Package Manager) has some very useful commands, despite having yum as a frontend. **Checklist** * Distro(s): Enterprise Linux ---- ====== 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 .rpm ----