Posted on 2000-04-06
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 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

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…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 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