- GNU
patch
aria2c
Downloadergit
(Optional)
You can install them by running sudo dnf install git aria2 patch
- Download or Clone this repository:
git clone https://github.com/chitholian/DNF-Faster.git
- Enter the new directory:
cd DNF-Faster
- Run the patch:
sudo patch -p0 -d/ -b < dnf-faster.patch
- Congrats! You got it. You can now do
dnf update
,dnf upgrade
,dnf install
etc.aria2
will download most of the (if not all) target packages using parallel multiconnection.
- Run the command from the
DNF-Faster
directory:sudo patch -p0 -d/ -b -R < dnf-faster.patch
- You need to run the patch each time you
upgrade
thednf
package. DRPM
andfailed
packages will be downloaded by the defaultDNF Downloader
.- I use this patch because the default dnf downloader is too slow and also makes too much timeout errors.