User Tools

Site Tools


rpm

This is an old revision of the document!


RPM Commands

Check if a package is installed:

$ rpm -qa | grep core
openoffice.org-core-2.3.0-6.10.el5
coreutils-5.97-19.el5
policycoreutils-1.33.12-14.2.el5

List files in a certain package:

$ rpm -ql coreutils

Manually install an rpm (as in, not using a repository with a package manager like yum):

$ sudo rpm -i VirtualBox-3.0.6_52128_rhel5-1.x86_64.rpm

Manually remove an rpm:

$ sudo rpm -e VirtualBox
rpm.1254229983.txt.gz · Last modified: 2010/05/22 14:19 (external edit)