Epel Centos

Some packages are missing from the base repository. This guide shows how to install RHEL EPEL repo on Centos 6 and 5.

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
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

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
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

or

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Enable the remi repository
Open the file /etc/yum.repos.d/remi.repo and set enable=1 in remi section of the file.

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

More info you can find here

That's it.

Was this answer helpful?

 Print this Article

Also Read

Web server

In this guide we will create our own web server on Centos 6.  We will use Apache...

Security tips for Linux server

1. Use only  strong passwords for all accounts , especially for root. Always use a secure root...

Disabling selinux

Selinux annoying you? Get it out! How to disable selinux Open its config file nano...

FreePBX

FreePBX is an open source GUI (graphical user interface) that controls and manages Asterisk (PBX)...

Changing ssh port

How to change ssh port. Open the file /etc/ssh/sshd_config with your favourite text...