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
-
Edit the
/etc/dnf/dnf.conffile. -
Update the
[main]section according to your requirements. - Save the changes.