• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 561
  • Last Modified:


What is the use of rpm command ?
1 Solution
It is a powerful tool that allows you to install, update, delete redhat packages amongst other things.  Redhat packages end in rpm, and they contain programs.
rpm stands for Redhat Package Manager. It is used to refer to both the format and the command for manipulating the file packages. rpms are suported by most major distributions (debian uses .deb). rpm packages can contain any data, including source code. Look up man rpm for details on how to use it. The GUI frontend is gnorpm on RH 6.0 and above, or glint on earlier distributions. It is the equivalent of add/remove programs in windows (but a lot more powerful)
If you don't want to use the gnorpm which is as DVB a nice tool, you can always type in 'man rpm
If I'm not mistaking, it should give you all the info necessary and the commands too.

RPM, as mentioned above stands for Redhat Package Manager... some of the more usefu commands are:

Installing, or upgrading a package:
rpm -Uvh <filename>.rpm

Querying which packages are installed:
rpm -qa | grep <search string>
(everything after the -qa can be omitted if you want to see every package installed)

Removing a package:
rpm -e <package name>

ahchongAuthor Commented:
Comment accepted as answer
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now