How To Add Remi Repository To CentOS/RHEL 5 Or 6

The Remi Repo is a yum repository maintained by a French guy – Remi Collet. The remi repository provides a variety of up-to-date packages that are useful or are a requirement for many popular web-based services.

How To add/install remi repository to CentOS/RHEL 5 or 6

For CentOS/RHEL 5 32-64 Bit

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

For CentOS/RHEL 6 32-64 Bit

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

Enable the remi repository permanently
First, open the /etc/yum.repos.d/remi.repo repository file using a text editor of your choice:

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

Set the enabled field to 1

name=Les RPM de remi pour Enterprise Linux $releasever - $basearch
name=Les RPM de remi en test pour Enterprise Linux $releasever - $basearch

Next execute

# yum update

Now to see all the repos you have with their current status, execute:

# yum repolist

If you do no wish to enable the repo permanently use –enablerepoflag with yum while installing a package.

# yum --enablerepo=remi install mysql

One Comment

  1. Thank you for your time and sharing your experience !! Me I know nothing about managing a server but thanks to you and others like you I’ve been able to manage my own, so it’s a big thanks and a big smile for saving my day :)) Regards Alain

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.