
Устанавливаем EPEL и Remi репозиторий, в зависимости от версии и архитектуры операционной системы.
Добавление EPEL репозитория в CentOS/RHEL 7.x
rpm -ivh http://mirror.omnilance.com/epel/beta/7/$(arch)/epel-release-7-0.2.noarch.rpm
Добавление EPEL репозитория в CentOS/RHEL 6.x
rpm -ivh http://download.fedoraproject.org/pub/epel/6/$(arch)/epel-release-6-8.noarch.rpm
Добавление Remi репозитория в CentOS/RHEL 7.x
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7*.rpm
Добавление Remi репозитория в CentOS/RHEL 6.x
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm