There is a CentOS.repo
configuration:
[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.scalabledns.com/centos/7/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.scalabledns.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=http://mirror.scalabledns.com/centos/7/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.scalabledns.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://mirror.scalabledns.com/centos/7/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.scalabledns.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://mirror.scalabledns.com/centos/7/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.scalabledns.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
baseurl=http://mirror.scalabledns.com/centos/7/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.scalabledns.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
You see, here we have 5
levels of the repo. But I cannot find the http://mirror.scalabledns.com/centos/7/contrib/
directory.
I have several questions:
What are the 5 levels repo source? What's their function? Why should we differentiate them?
Why there is no
contrib
? If there is none, how should I config? Does it matter if I do not config?