For a better understanding I must do mention of Ubuntu, about package management, through the apt command these two commands are very practically mandatory
sudo apt update
sudo apt upgrade
Where the former command works through the /etc/apt/sources.list file to get the latest information according the repositories defined about what is available to be upgraded through the latter command.
Now, about Fedora I know that these two Ubuntu commands are equivalent in Fedora to one command, it through either sudo dnf update or sudo dnf upgrade where the latter is an alias of the former, so both do the same job.
My question is - and of course if it applies -
What is the equivalent /etc/apt/sources.list file in Fedora?
If does not exist an equivalent file how knows Fedora what is available to be updated/upgraded?
DNF_ by default uses the global configuration file at /etc/dnf/dnf.conf and all *.repo files found under /etc/yum.repos.d . The latter is typically used for repository configuration and takes precedence over global configuration
Pls, can you explain (expand mostly) the difference/relation between these files?