I was trying to install LibreOffice and I was in a bit of a rush, I have 50 MBPS and I couldn’t get speeds above 150 kb / s downloading the packages:
But adding the following lines:
fastestmirror=true
minrate=2M
timeout=5s
To the repos setup files: /etc/yum.repos.d/fedora.repo y /etc/yum.repos.d/fedora-updates.repo, i was can make my packages install really fast.
This my fedora.repo file now:
You can see a reference of the dnf options on https://dnf.readthedocs.io/en/latest/conf_ref.html and check this:
This is the option that really does the magic, however we must be careful not to configure a very high value since we could get many errors and not connect to almost any mirror since none could satisfy our requirement.