How to setup fastest mirror in Dnf

Dnf by default does not choose the fastest mirror, but this can be changed by editing the dnf.conf file. The dnf.conf file is in /etc/dnf/dnf.conf. Edit the file Once the file opens the content should look something like this. Let’s add fastmirror to the config and enable it. Add below the line skip_if_unavaiable=True the following. […]