This tutorial brings you how to configure a CentOS to use Fedora Epel repos and 3rd party remi repos. These repositories not officially supported by CentOs but you can install many popular applications like wine, PhpMyAdmin, MYSQL and many more.

Step-1 Download required RPMs

`
Create Directory
mkdir /download
Change Directory
cd /download
Download RPM Files
If you are on CentOs 5.X
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
If you are on CentOs 6.X
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

Step -2 Install both RPMs

rpm -iUvh epel-release-6-8.noarch.rpm remi-release-6.rpm

Step-3 Enable newly installed remi repository

vi /etc/yum.repos.d/remi.repo
Change Enabled 0 to 1
name=Les RPM de remi pour Enterprise Linux 6 – $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Save and Exit
:wq

Step-4 List your newly added repo packages

yum list

That’s it All Done..!
Watch Video :

Similar Posts