Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17



Posted on 2000-04-06
Medium Priority
Last Modified: 2013-11-13
What is the use of rpm command ?
Question by:ahchong
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

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 40 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

730 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