Fedora DNF Slow Download Fix: Proven Speed Guide (2026)

Fedora dnf slow download fix is one of the most common searches for Fedora users. When you run sudo dnf update or install new packages, downloads can crawl at frustratingly slow speeds.

A fedora dnf slow download fix is essential for a smooth experience. This comprehensive guide provides proven methods to dramatically speed up DNF package downloads on Fedora Linux.

Quick Fix: Edit /etc/dnf/dnf.conf with sudo nano /etc/dnf/dnf.conf and add these lines: max_parallel_downloads=10 and fastestmirror=True. Then run sudo dnf clean all and sudo dnf makecache. This alone often doubles or triples download speeds.

1. Root Cause

When you search for a fedora dnf slow download fix, the issue typically stems from conservative default settings in DNF. By default, DNF downloads only three packages at a time, which does not fully utilize modern internet connections.

Another major cause is that DNF does not automatically select the fastest mirror. It uses a default mirror list that may not be geographically close to you. The fastestmirror plugin is disabled by default in some configurations, meaning you could be downloading from a slow or overloaded server.

DNF also refreshes repository metadata every time it runs, which can cause delays. Additionally, the default cache settings are not optimized for repeated use. Delta RPMs, while reducing download size, can actually slow down the overall process on fast connections because they require extra CPU time to reconstruct packages.

On older Fedora versions using DNF4, the package manager itself is slower. Fedora 43 and later use DNF5, which is significantly faster out of the box. Understanding these root causes helps you apply the right fedora dnf slow download fix.

2. Enable Parallel Downloads

The most effective fedora dnf slow download fix is enabling parallel downloads. This allows DNF to download multiple packages simultaneously, maximizing your bandwidth.

sudo nano /etc/dnf/dnf.conf

Add this line to the file:

max_parallel_downloads=10

The default is 3 parallel downloads. Setting it to 10 is recommended for most users. If you have a very fast connection, you can go up to 20. After saving, run sudo dnf clean all and test your next update.

Outcome: Enabling parallel downloads provides an immediate fedora dnf slow download fix by utilizing your full bandwidth.

3. Enable Fastest Mirror Detection

Enabling the fastest mirror plugin is another essential fedora dnf slow download fix. This ensures DNF selects the mirror with the lowest latency.

sudo nano /etc/dnf/dnf.conf

Add this line:

fastestmirror=True

This forces DNF to test mirrors and choose the one with the best response time. Some users report that this helps avoid dead mirrors that don’t respond at all. After adding, run sudo dnf clean all and sudo dnf makecache.

Outcome: Enabling fastest mirror detection provides a reliable fedora dnf slow download fix by routing you to the best available server.

4. Enable Metadata Caching

Metadata caching reduces the time DNF spends downloading repository information. This is a valuable fedora dnf slow download fix for frequent updates.

sudo nano /etc/dnf/dnf.conf

Add these lines:

metadata_expire=7d

This keeps repository metadata for 7 days, reducing repeated downloads and accelerating updates. By default, DNF refreshes metadata every time it runs, which can cause significant delays, especially on slower connections.

Outcome: Enabling metadata caching provides a fedora dnf slow download fix by reducing redundant downloads.

5. Clean DNF Cache Regularly

Over time, the DNF cache can accumulate old metadata and packages, potentially slowing down operations. Regular cleaning is a simple fedora dnf slow download fix.

sudo dnf clean all
sudo dnf makecache

According to the Fedora Discussion, cleaning the cache forces DNF to re-evaluate your fastest mirror and can resolve slow download issues. Running this before major updates ensures you start with a fresh cache.

Outcome: Cleaning the cache regularly provides a fedora dnf slow download fix by removing outdated data.

6. Switch to a Faster Mirror Manually

If automatic mirror selection fails, manually switching to a faster mirror can provide a fedora dnf slow download fix. This is especially useful for users in regions with poor default mirror performance.

sudo nano /etc/yum.repos.d/fedora.repo
sudo nano /etc/yum.repos.d/fedora-updates.repo

Find the metalink line and comment it out with #. Then uncomment the baseurl line and change it to a mirror near you. For example, you can use the University of Utah mirror: baseurl=https://mirrors.kernel.org/fedora/releases/$releasever/Everything/$basearch/os/. After making changes, run sudo dnf clean all and sudo dnf makecache.

Outcome: Switching to a faster mirror manually provides a targeted fedora dnf slow download fix for specific regions.

7. Use DNF5 (Fedora 43+)

Fedora 43 and later use DNF5 by default, which is significantly faster than DNF4. Upgrading to Fedora 43+ provides an automatic fedora dnf slow download fix.

sudo dnf system-upgrade download --releasever=43
sudo dnf system-upgrade reboot

DNF5 includes performance improvements that make package management noticeably faster. If you are on an older version, upgrading is the best long-term fedora dnf slow download fix. Even on DNF5, you should still configure parallel downloads for maximum speed.

Outcome: Upgrading to DNF5 provides a built-in fedora dnf slow download fix with performance improvements.

8. Adjust Timeout and Retry Settings

Network issues can cause slow downloads. Adjusting timeout and retry settings can provide a fedora dnf slow download fix for unreliable connections.

sudo nano /etc/dnf/dnf.conf

Add these lines:

timeout=30
retries=10

This reduces the timeout from the default 60 seconds to 30 seconds, and increases retries from the default 3 to 10. This helps DNF recover from temporary network issues more quickly and resume downloads without user intervention.

Outcome: Adjusting timeout and retry settings provides a fedora dnf slow download fix for unstable networks.

9. Disable Delta RPMs

Delta RPMs can actually slow down downloads on fast connections because they require extra CPU time to reconstruct packages. Disabling them can be a fedora dnf slow download fix for some users.

sudo nano /etc/dnf/dnf.conf

Add this line:

deltarpm=false

Delta RPMs download only the changes between package versions, which reduces download size but increases CPU usage. On modern systems with fast internet, the CPU overhead can actually make the process slower. Disabling them can speed up updates significantly.

Outcome: Disabling delta RPMs provides a fedora dnf slow download fix for fast connections.

10. Advanced: Use Baseurl Instead of Metalink

For advanced users, using baseurl instead of metalink can provide the ultimate fedora dnf slow download fix by bypassing the mirror selection process entirely.

sudo nano /etc/yum.repos.d/fedora.repo

Comment out the metalink line and uncomment the baseurl line:

#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
baseurl=https://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/

This forces DNF to use a specific mirror instead of querying the metalink server. The Fedora DNF Configuration documentation recommends this for users who have a reliable local mirror. This provides the most consistent fedora dnf slow download fix for users with stable connections.

Outcome: Using baseurl provides a permanent fedora dnf slow download fix by eliminating mirror selection overhead.

11. Frequently Asked Questions

Why is DNF so slow on Fedora?

DNF is slow by default because it uses only 3 parallel downloads, does not automatically select the fastest mirror, and refreshes metadata every time it runs.

How do I increase DNF download speed?

Edit /etc/dnf/dnf.conf and add max_parallel_downloads=10 and fastestmirror=True. Then run sudo dnf clean all and sudo dnf makecache.

What is the best max_parallel_downloads value?

10 is recommended for most users. If you have a very fast connection, you can go up to 20.

Does fastestmirror actually work?

Yes, fastestmirror=True prioritizes the mirror with the lowest latency, which can improve download speeds. Some users report it helps avoid dead mirrors.

What is the difference between DNF4 and DNF5?

DNF5 is the newer version used in Fedora 43+. It is significantly faster than DNF4 and includes performance improvements.

How do I clean DNF cache?

Run sudo dnf clean all followed by sudo dnf makecache.

Can I use a mirror closer to me?

Yes, you can manually edit repository files in /etc/yum.repos.d/ to use a specific mirror by changing the baseurl.

What is metadata caching in DNF?

Metadata caching keeps repository information for a set period, reducing repeated downloads and accelerating updates. Add metadata_expire=7d to /etc/dnf/dnf.conf.

Should I disable delta RPMs?

If you have a fast internet connection, disabling delta RPMs with deltarpm=false can speed up updates by reducing CPU overhead.

What if none of these methods work?

Check your internet connection, try using a VPN to change routing, or consider using a different DNS server. If the issue persists, check the Fedora Discussion forums for specific advice.

12. Conclusion

The fedora dnf slow download fix is achievable with the right configuration. From enabling parallel downloads to switching to DNF5, this guide covers all effective methods. Start with the simplest solution — adding max_parallel_downloads=10 and fastestmirror=True to your dnf.conf — and escalate only if necessary. For users on older Fedora versions, upgrading to Fedora 43+ provides a built-in fedora dnf slow download fix with DNF5. For more information, visit the Fedora Project official site or the official DNF configuration documentation. With this proven guide, you can overcome the fedora dnf slow download fix challenge and enjoy lightning-fast package management.

For more Linux troubleshooting, explore our Linux Hub and guides on Ubuntu broken packages fix, Linux read-only file system, and Linux no sound after update. With the right approach, you can resolve the fedora dnf slow download fix issue and keep your system running optimally.

Editorial Team
This article was researched and written by the HowToFixPro technical editorial team. Our team consists of Fedora Linux experts and system administrators with years of experience in package management and performance optimization across multiple distributions.

Scroll to Top