yum access to  repodata from URL address in /etc/yum.conf or /etc/yum.repos.d/*.repobut when i verify them in my centos :In yum.conf there is not URL of repodataAlso repo files in this path /etc/yum.repos.d include URLs,many of them are disable with this flag enabled=0 and others do not have enabled flagBut i am using yum and it works good ! how does my yum work?
How does yum work with enabled=0 of repo files?
software installation;yum;repository
By default an entry in a repo file is enabledeg[base]name=CentOS-$releasever - Basemirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra# baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6There is no enabled line in this configuration and so the repo is enabled.You can see what repo's are enabled withyum repolist enabledTo temporarily enable a repo that's normally disabled you can use the --enablerepo optionegyum --enablerepo=foobar install xyz