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:
Downloading LibreOffice a bit slow
But adding the following lines:
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.
You look some errors, are the mirrors with slow bandwith
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.