Tuesday 23 February 2021

Point yum to Centos Repository

Point Centos repository to download packages. 

In here you can just add these to your /etc/yum.repos.d/centos.repo file and paste these contents. 

[base]
name=CentOS $releasever – Base
baseurl=http://mirror.centos.org/centos/7/os/$basearch/
gpgcheck=0
enabled=1

[updates]
name=CentOS $releasever – Updates
baseurl=http://mirror.centos.org/centos/7/updates/$basearch/
gpgcheck=0
enabled=1

[extras]
name=CentOS $releasever – Extras
baseurl=http://mirror.centos.org/centos/7/extras/$basearch/
gpgcheck=0
enabled=1

Install epel repo,


# yum clean all
# yum list installed

Thanks,
Sunil