HowTo Increase DNF Download Threads: Difference between revisions
From MediaWiki
Jump to navigationJump to search
| Line 3: | Line 3: | ||
To increase the number of simultaneous package download threads (parallel downloads) in [https://en.wikipedia.org/wiki/DNF_(software) DNF], edit the DNF configuration file and add or modify the max_parallel_downloads setting. The default value is 3. | To increase the number of simultaneous package download threads (parallel downloads) in [https://en.wikipedia.org/wiki/DNF_(software) 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''' == | == '''Procedure To Increase DNF Download Threads To 10''' == | ||
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. | 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. | ||
Revision as of 11:24, 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 To 10
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