Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chitholian committed Dec 2, 2019
1 parent 79d87ab commit a954e8d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,22 @@
1. GNU `patch`
2. `aria2c` Downloader
3. `git` (Optional)
You can install both of them by running `sudo dnf install aria2 patch`

You can install them by running `sudo dnf install git aria2 patch`

## How to Patch:

1. Download or Clone this repository: `git clone https://github.com/chitholian/DNF-Faster.git`
2. Enter the new directory: `cd DNF-Faster`
3. Run the patch: `sudo patch -p0 -d/ -b < dnf-faster.patch`
4. 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.

## How to Undo:

1. Run the command from the `DNF-Faster` directory: `sudo patch -p0 -d/ -b -R < dnf-faster.patch`

## Notes:

1. You need to run the patch each time you `upgrade` the `dnf` package.
2. `DRPM` and `failed` packages will be downloaded by the default `DNF Downloader`.
3. I use this patch because the default dnf downloader is too slow and also makes too much timeout errors.

0 comments on commit a954e8d

Please sign in to comment.