- GNU
patch aria2cDownloadergit(Optional)
You can install them by running sudo dnf install git aria2 patch
- Download or Clone this repository:
git clone https://github.com/daemonspudguy/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 installetc.aria2will download most of the (if not all) target packages using parallel multiconnection.
- Run the command from the
DNF-Fasterdirectory:sudo patch -p0 -d/ -b -R < dnf-faster.patch
- You need to run the patch each time you
upgradethednfpackage. DRPMandfailedpackages 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.