HowTo Increase DNF Download Threads: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Line 4: Line 4:


== '''Procedure To Increase DNF Download Threads''' ==
== '''Procedure To Increase DNF Download Threads''' ==
As the '''root''' user edit the DNF configurtion file: "'''vi /etc/dnf/dnf.conf'''" and add the "'''max_parallel_downloads=10'''" to the "'''[main]'''" section.
[root@nst-nuci3 ~]# vi /etc/dnf/dnf.conf
[root@nst-nuci3 ~]# cat /etc/dnf/dnf.conf
# see `man dnf.conf` for defaults and possible options
[main]
fastestmirror=True
max_parallel_downloads=10
deltarpm=true

Revision as of 11:16, 2 November 2026

Overview

To increase the number of simultaneous package download threads (parallel downloads) in DNF, edit the DNF configuration file and add or modify the max_parallel_downloads setting. The default value is 3.

Procedure To Increase DNF Download Threads

As the root user edit the DNF configurtion file: "vi /etc/dnf/dnf.conf" and add the "max_parallel_downloads=10" to the "[main]" section.

[root@nst-nuci3 ~]# vi /etc/dnf/dnf.conf

[root@nst-nuci3 ~]# cat /etc/dnf/dnf.conf 
# see `man dnf.conf` for defaults and possible options

[main]
fastestmirror=True
max_parallel_downloads=10
deltarpm=true