Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Install aria2
- ~> sudo pacman -Syu aria2
- 2. Edit pacman config
- ~> sudo nano /etc/pacman.conf
- 3. Add this line
- XferCommand = echo Downloading %u ... && /usr/bin/aria2c --conf-path=/root/.aria2/pacman-aria2.conf %u
- 4. Save and Exit
- 5. Login with root
- ~> su
- 6. Create a file in /root/.aria2/pacman-aria2.conf
- ~> mkdir .aria2 && sudo nano /root/.aria2/pacman-aria2.conf
- 7. Paste this
- # error handling
- timeout=60
- connect-timeout=30
- max-tries=5
- retry-wait=10
- max-file-not-found=1
- # downloading
- split=16
- max-connection-per-server=16
- min-split-size=1M
- max-concurrent-downloads=16
- file-allocation=none
- remote-time=true
- conditional-get=true
- no-netrc=true
- # resuming
- continue=true
- allow-overwrite=true
- always-resume=false
- # proxy
- #http-proxy=127.0.0.1:8080
- #https-proxy=127.0.0.1:8080
- #ftp-proxy=127.0.0.1:8080
- # console
- #quiet=true
- console-log-level=warn
- summary-interval=0
- #enable-color=false
- #human-readable=false
- #show-console-readout=false
- #truncate-console-readout=false
- # logging
- log-level=warn
- log=/var/log/pacman-aria2.log
- 8. Save and Exit
- 9. Exit root
- ~> exit
- 10. Profit ???
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement