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
[remi] name=Les RPM de remi pour Enterprise Linux $releasever - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi failovermethod=priority [remi-test] name=Les RPM de remi en test pour Enterprise Linux $releasever - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/$releasever/test/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/test/mirror enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
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
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