Where is the official list of properties of the /etc/dnf/dnf.conf file?

Hello Friends

I am reading and watching information about how to configure correctly the /etc/dnf/dnf.conf file. Is curious because I found:

max_parallel_downloads=10
max_parallel_download=10

Therefore is download or downloads?

Furthermore:

fastestmirror=true
fastestmirror=True

Therefore true or True?

Question

  • Where is the official list of properfies with its respective values of the /etc/dnf/dnf.conf file?

For DNF version 4, you can find the configuration reference here: https://dnf.readthedocs.io/en/latest/conf_ref.html

For DNF5, the reference is available at: https://dnf5.readthedocs.io/en/stable/dnf5.conf.5.html

3 Likes

Thank You

I arrived to the same DNF Configuration Reference β€” DNF @DNF_VERSION@-1 documentation link too but I assumed something from Fedora itself. So I have 2 questions:

  1. How do you know that link is official?
  2. How do you know the first link is about the version 4?

The link for DNF pre-5 comes from the DNF repository on GitHub at: https://github.com/rpm-software-management/dnf/.

While, the link for DNF5 comes from the DNF5 repository on GitHub: https://github.com/rpm-software-management/dnf5/

3 Likes

Huge thanks for the quick replies

1 Like

Plus, there is a link to the DNF command reference from Fedora Docs for DNF: https://docs.fedoraproject.org/en-US/quick-docs/dnf/#sect-references

1 Like

No problem! I had the links handy since I recently upgraded to Fedora 41 and was trying to learn the new dnf command options and config for DNF5.

2 Likes

Has sense your situation

Added dnf