This tutorial describes 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.
You might want to look our previous tutorials about EPEL repository.
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 CentOS/RHEL/Scientific Linux 7 x86_64:
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm
On CentOS/RHEL/Scientific 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 CentOS/RHEL/Scientific 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
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 Loading mirror speeds from cached hostfile * base: centos.excellmedia.net * epel: epel.mirror.net.in * extras: centos.excellmedia.net * remi: mirror.smartmedia.net.id * updates: centos.excellmedia.net repo id repo name status base/7/x86_64 CentOS-7 - Base 8,465 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 5,551 extras/7/x86_64 CentOS-7 - Extras 30 remi Les RPM de remi pour Enterprise Linux 7 - x86_64 671 updates/7/x86_64 CentOS-7 - Updates 577 repolist: 15,294
Now, you’re ready to install packages. You can install packages using command:
yum install <package-name>
Cheers!