Linux RPM packet manager

System administrators use package management rather than manual building software because of simplicity, consistency and the ability for these processes to be automated on different systems easy.

RPM stands as “Resource Packed Manager”.

If you are familiar with yum, apt, urpmi, up2date these are all based on RPM.

Most common RPM commands would be:

To install:

# rpm -ivh filename.rpm

To update:

# rpm -Uvh filename.rpm

To query all files or to query configuration files:

# rpm -qa
Thanks
# rpm -qc

To delete:

# rpm -ev packagename

To get the dependencies:

# rpm -qpR filename.rpm or

# rpm -qR packagename

Note that -i option stands for install, -U stands for update,

-v stands for verbose, q for query, p for package, etc.

I don’t want to confuse anyone, but just to give you another part of the picture, there is another popular Linux package format called dpkg, for files with .deb extension. This package format is used on Debian and Ubuntu.  They use the command dpkg to install a package, and apt-get is the front-end for it, it’s the clever one. So their .deb files are our .rpm files.

Thanks.

tags: & category: -