Linux Administrator

How To Install REMI Repository On CentOS and Fedora

install-remi-repository
mm
Written by Santosh Prasad

In this article I will show you how to add REMI Repository which is maintained and create by a French Guy named ” Remi Collect“. Remi repository is free to use and share and it is very stable.

Install REMI Repository On CentOS and Fedora

Follow the below steps to install and enable the REMI repository on your Linux system.

On CentOS/RHEL Linux 7 x86_64

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

On CentOS/RHEL Linux 6 i386 or x86_64

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

Only For RHEL

# rhn-channel --add --channel=rhel-$(uname -i)-server-optional-6

On CentOS/RHEL Linux 5 i386 or x86_64

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

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

Enable REMI Repository

To enable the REMI repository edit the remi.repo file:

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

# Change below line enable = 0 to 1

enabled=1

Save and close the file.

List the installed repository on the system using below command:

# yum repolist

Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
epel/metalink                                                                                         |  12 kB     00:00
 * epel: fedora-epel.mirror.lstn.net
 * remi-safe: repo1.dal.innoscale.net
 * webtatic: us-east.repo.webtatic.com
ajenti                                                                                                                        | 2.5 kB     00:00
base                                                                                                                          | 3.7 kB     00:00
blackfire/signature                                                                                                           |  836 B     00:00
blackfire/signature                                                                                                           | 1.0 kB     00:00 ...
epel                                                                                                                          | 4.3 kB     00:00
epel/primary_db                                                                                                               | 6.0 MB     00:00
extras                                                                                                                        | 3.4 kB     00:00
remi-safe                                                                                                                     | 2.9 kB     00:00
remi-safe/primary_db                                                                                                          | 901 kB     00:00
remi-test                                                                                                                     | 2.9 kB     00:00
updates                                                                                                                       | 3.4 kB     00:00
updates/primary_db                                                                                                            | 4.7 MB     00:00
vz-base                                                                                                                       |  951 B     00:00
vz-updates                                                                                                                    |  951 B     00:00
webtatic                                                                                                                      | 3.6 kB     00:00
webtatic/primary_db                                                                                                           | 244 kB     00:00
117 packages excluded due to repository priority protections
1 packages excluded due to repository protections
repo id                                      repo name                                                                                     status
ajenti                                       Ajenti                                                                                             177+2
base                                         CentOS-6 - Base                                                                                 6,667+39
blackfire                                    blackfire                                                                                              4
epel                                         Extra Packages for Enterprise Linux 6 - x86_64                                                11,644+802
extras                                       CentOS-6 - Extras                                                                                   45+1
remi-safe                                    Safe Remi's RPM repository for Enterprise Linux 6 - x86_64                                     111+2,099
remi-test                                    Les RPM de remi en test pour Enterprise Linux 6.8 - x86_64                                      33+1,126
updates                                      CentOS-6 - Updates                                                                                741+15
vz-base                                      vz-base                                                                                                3
vz-updates                                   vz-updates                                                                                           2+6
webtatic                                     Webtatic Repository EL6 - x86_64                                                                  28+422
repolist: 19,455

Now repository is enabled and installed, run the below command to install package.

# yum install package-name
Thank you! for visiting Look Linux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at Look Linux Submit Article. Stay connected to Facebook.

About the author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment