Posted on 2000-04-06
Last Modified: 2013-11-13
What is the use of rpm command ?
Question by:ahchong

Expert Comment

ID: 2690416
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.

Expert Comment

ID: 2691585
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)

Expert Comment

ID: 2692909
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.


Accepted Solution

BigJimSlade earned 10 total points
ID: 2694559
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>


Author Comment

ID: 2854026
Comment accepted as answer

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now