Skip to content
Tags

,

Linux RPM Installer

July 10, 2014

What is RPM

RPM (Red Hat Package Manager) is a tool used to help manage the programs installed on your machine and provide an interface to install more. It is used to install .rpm files.

 Verify Installation

RPM is ready to use if the output of the about line shows a path to an executable file. If the output is blank then it still needs to be installed.


$ which rpm

How to Install RPM Installer

Ubuntu/Debian


$ sudo apt-get install rpm

Red Hat/CentOS/Fedora


$ sudo yum install rpm.x86_64

If above package isn’t compatible with your computer then you can search for one that might work using the command:


$ sudo yum search rpm

 

How To Use

List installed packages


$ rpm -qa

Install Package


$ sudo rpm -Uhv nginx-release-rhel-5-0.el5.ngx.noarch.rpm

Uninstall package


$ sudo rpm -ev {name of package}

Advertisements

From → Guide, Installation

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: