Filed under: Automation, Linux, — Tags: Centos, Cheat sheet, Linux RPM Package Manager, Red Hat Linux, rpm — Thomas Sundberg — 2015-09-10
It turns out that I always have to search for the syntax when working with RPMs. To simplify my own life, and possible yours, here is a list of some commands I find useful. Some of them should be executed as root.
rpm -i rpm-file-namerpm -ivh rpm-file-namerpm -ivvh rpm-file-namerpm -e package-namerpm -ev package-namerpm -evv package-namerpm -Uvh rpm-file-namerpm -qarpm -qpl rpm-file-namerpm -ql package-namerpm --help-v-vv-h