You are not logged in.

#1 2010-02-09 12:19:00

zhou13
Member
Registered: 2009-10-07
Posts: 35

[SOLVED]Can I make yaourt use aria2 instread of wget?

Yaourt is too slow when download some package from AUR.
Can I make yaourt use aria2 instread of wget?

Last edited by zhou13 (2010-02-10 03:38:29)

Offline

#2 2010-02-09 12:24:33

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [SOLVED]Can I make yaourt use aria2 instread of wget?

It's not yaourt downloading the packages, it's makepkg.

Add this to makepkg.conf

DLAGENTS=('ftp::/usr/bin/aria2c %u -o %o'
          'http::/usr/bin/aria2c %u -o %o'
          'https::/usr/bin/aria2c %u -o %o'
          'rsync::/usr/bin/rsync -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

and comment (#) the wget DLAGENTS section.

Offline

#3 2010-02-09 13:20:17

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: [SOLVED]Can I make yaourt use aria2 instread of wget?

I don't think aria2 will speed up downloads for AUR packages much since the PKGBUILDS only list only 1 source for each file that needs to be downloaded.

Offline

#4 2010-02-10 03:37:52

zhou13
Member
Registered: 2009-10-07
Posts: 35

Re: [SOLVED]Can I make yaourt use aria2 instread of wget?

ok, thanks.

Offline

#5 2010-02-10 04:16:26

burgulgoth
Member
From: Croatia
Registered: 2009-01-15
Posts: 17
Website

Re: [SOLVED]Can I make yaourt use aria2 instread of wget?

jowilkin wrote:

I don't think aria2 will speed up downloads for AUR packages much since the PKGBUILDS only list only 1 source for each file that needs to be downloaded.

It will speed up, just split download over multiple connections.
Example:

http::/usr/bin/aria2c -s8 %u -o %o

Last edited by burgulgoth (2010-02-10 04:17:10)


ArchLinux x86_64 | scripts | .configs | cyber space | Last.FM | deviantART

Offline

Board footer

Powered by FluxBB