I'm reading a book on Linux, which somewhat poorly explains what Linux does when you install packages with yum.
When you run
yum install packagehere, the first thing that linux does is to check
/etc/yum.conf file to see where the sotfware repository is located. I have no
/etc/yum.conf on my freshly installed system.
Since I have no
/etc/yum.conf, then the first thing must be checking
/etc/yum.repos.d folder. In it I have
Each of this files has a line(s) starting with #baseurl.
Lets say I run
yum install httpd
How do I know (actually how does Linux know) which baseurl contains the package httpd? Does it scan through all of them?