Sunday, August 23, 2015

How to Install .rpm files on Fedora, Redhat and CentOS


How to Install .rpm files on Fedora, Redhat and CentOS


When you install packages in Fedora it's not the same as on Ubuntu/Debian based systems which use apt-get. For installing packages on Redhat, Fedora and CentOS we will use the .rpm packages instead of .deb 

First find the .rpm file of your choice. For this demo we will use gedit and the commands below are the main ones you will be using although there are more you can look them up using the command  "man rpm"



To install a .rpm file use the following command


sudo rpm -i gedit-2.16.0-9.el5 .i386.rpm



To uninstall or delete a .rpm file use the following command

sudo rpm -i gedit-2.16.0-9.el5 .i386.rpm









Share

& Comment

0 comments:

Post a Comment

 

Copyright © Linux Videos™ is a registered trademark.

Designed by Templateism. Hosted on Blogger Platform.