dnf / yum

When reviewing and testing repo urls from /etc/yum.repos.d you will see variables used. To get the value of these variables, run the following python command

python3 -c 'import dnf, pprint; db = dnf.dnf.Base(); pprint.pprint(db.conf.substitutions,width=1)'