Every once in awhile I find myself looking around for an rpm command to provide info on a specific thing such as displaying installed location of all files of a package that’s already been installed. Sure there is the man page but finding something from a man page is like finding a hard booger stuck way up in your nose….as you reach for it, you scratch other areas way too much and by the time you get that damn booger, you’re already bleeding from your nose!
Anyhow, didn’t mean to get so graphic talking about RPM (Redhat Package Manager). Here is a quick reference to go by when you’re dealing with RPM.
Install package apache2 already download on the system.
You can do it with http:// as well. Simple of installing RPM from remote server.
Uninstall apache2 package..
Upgrade an existing package.
You can also do
to fetch pkg.
List files that did not pass the verify tests.
List location where RPM would be installed.
List location of files on the system where the RPM has already been installed.
This one is my favorite. It displays pkg information such as version, release, installed date and much more.
This will tell you which package the file httpd.conf belongs to.
List all installed RPM packages on the system.
List all the recently installed RPM packages.
Outputs dependencies for the RPM.