Install REMI Repository On RHEL / CentOS / Scientific Linux 6.x, 5.x And Fedora 20, 19, 18

by
Share this Article: Facebook0Google+1Twitter15LinkedIn0Reddit0StumbleUpon1

We have shown you how to install EPEL repository on RHEL/CentOS/Scientific Linux in our previous tutorial. Now let us see how to add REMI repository which is created and maintained by a French guy named Remi Collect. REMI repository is free to use and is very stable.

Install REMI Repository On RHEL / CentOS / Scientific Linux / Fedora

Please be mindful that you should use REMI repository along with EPEL repository. Otherwise you may end up with dependency problem sometimes.

On Fedora 20  i386 or x86_64:

# wget http://rpms.famillecollet.com/remi-release-20.rpm
# yum install remi-release-20.rpm

On Fedora 19  i386 or x86_64:

# wget http://rpms.famillecollet.com/remi-release-19.rpm
# yum install remi-release-19.rpm

On Fedora 18  i386 or x86_64:

# rpm -Uvh http://rpms.famillecollet.com/remi-release-18.rpm

On Enterprise Linux 6 i386 or x86_64:

# wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
# rpm -Uvh remi-release-6.rpm
# for RHEL only
# rhn-channel --add --channel=rhel-$(uname -i)-server-optional-6

On Enterprise Linux 5 i386 or x86_64:

# wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
# rpm -Uvh remi-release-5.rpm

Enable REMI repository

Edit file remi.repo,

# vi /etc/yum.repos.d/remi.repo

Find the line enabled =0 and change it to 1 to enable REMI repository.

[...]
enabled=1
[...]

Save and close the file.

Now list out the installed repositories with command:

# yum repolist

Sample output:

Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.leapswitch.com
 * epel: epel.mirror.net.in
 * extras: mirror.leapswitch.com
 * remi: mirror.smartmedia.net.id
 * updates: mirror.leapswitch.com
repo id                                                  repo name                                                                                       status
base                                                     CentOS-6 - Base                                                                                 4,802
epel                                                     Extra Packages for Enterprise Linux 6 - i386                                                    8,385
extras                                                   CentOS-6 - Extras                                                                                  12
remi                                                     Les RPM de remi pour Enterprise Linux 6 - i386                                                  1,362
updates                                                  CentOS-6 - Updates                                                                                211
repolist: 14,772

Now you’re ready to install packages. You can install packages using command:

# yum install <package-name>

Cheers!

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+1Twitter15LinkedIn0Reddit0StumbleUpon1