Melihat repository yang aktif pada centos
# yum –v repolist
# yum –v repolist | less
# yum repolist
# yum repolist enable
# yum repolist disable
# yum repolist all
# yum --disablerepo="*" --enablerepo="repoA-id" list available
# yum repolist | grep "^epel\|repo id"
# yum remove epel-release
# yum clean all
# yum clean cache
# rm –rf /var/cache/yum
# wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
# rpm -Uvh epel-release-6-8.noarch.rpm remi-release-6.rpm
Pengaturan Repository Centos 7
Diawal instalasi centos 7 (minimal install) terkadang ada paket-paket yang tidak dapat didownload.Biasanya centos 7 membutuhkan EPEL (Extra Packages for Enterprise Linux) - Proyek Repositori dari tim Fedora yang open source dan berbasis komunitas yang menyediakan 100% kualitas tinggi paket software add-on untuk distribusi Linux RHEL (Red Hat Enterprise Linux), CentOS, and Scientific Linux.
1. Enable EPEL Repository Centos 7
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-10.noarch.rpm
# rpm -ivh epel-release-7-10.noarch.rpm
Atau yang otomatis
# yum install epel-release
# yum repolist | grep "^epel\|repo id"
# rm -fr /var/cache/yum/*
# yum clean all
Menghapus EPEL Repository
Untuk menghapus EPEL Repo bisa dengan menggunakan perintah yum
# yum remove epel-release
rpm
# rpm -qa | grep epel
# rpm -e epel-release-x-x.noarch