Gregg's MOTD

Tips & Tricks that I've Encountered Over the Years...

Speed Up DNF Package Manager

July 03, 2023 — Gregg Szumowski

You can increase the download speed for installing packages using DNF by updating the maximum number of simultaneous package downloads.

Start by editing the /etc/dnf/dnf.conf file:

$ sudo nano /etc/dnf/dnf.conf

Add the following line to enable DNF parallel downloads:

max_parallel_downloads=10

Another option is to select the fastest mirror from the Fedora public mirrors by adding the following line:

fastestmirror=True

Tags: cli, dnf, fedora, rhel, package-managers, motd