Configure DNF main options

To control how DNF operates, configure key-value pairs in the [main] section of the /etc/dnf/dnf.conf file.

Procedure

  1. Edit the /etc/dnf/dnf.conf file.
  2. Update the [main] section according to your requirements.
  3. Save the changes.