Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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 <code bash> rpm -q postfix </code> \\ Find duplicate packages <code bash> rpm -qa --qf "%{NAME}.%{arch}\n" | sort | uniq -d </code> \\ Show the contents of a RPM file on the local system that is not installed <code bash> rpm -qlp <package-name>.rpm </code> ---- linux_wiki/rpm.txt Last modified: 2019/05/25 23:50(external edit)