Let see 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.
Install REMI Repository On RHEL / CentOS
Please be mindful that you should use REMI repository along with EPEL repository. Otherwise you may end up with dependency problem sometimes.
On Enterprise 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 Enterprise Linux 5 i386 or x86_64:
# wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm# rpm -Uvh remi-release-5.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, securityLoading mirror speeds from cached hostfile* base: mirror.leapswitch.comextras: mirror.leapswitch.c* epel: epel.mirror.net.in*om* remi: mirror.smartmedia.net.idid* updates: mirror.leapswitch.comrepo repo name statusbase CentOS-6 - Base 4,802epel Extra Packages for Enterprise Linux 6 - i386 8,385extras CentOS-6 - Extras 12remi Les RPM de remi pour Enterprise Linux 6 - i386 1,362updates CentOS-6 - Updates 211repolist: 14,772
Thank to :
http://www.unixmen.com/install-remi-repository-rhel-centos-scientific-linux-6-x-5-x-fedora-20-19-18/
אין תגובות:
הוסף רשומת תגובה