the zypper calling aria2c download the file, but the speed is too slow, so, I want to use proxy.
the aria2 is supported to use proxy ,but I cannot find where is the config file. I want to know how the zypper pass the parameter such as file name file target and anthor option when aria2 is calling by zypper.>:(
thanks a lot
I assume that you are using openSUSE 11.2, isn’t it?
Upgrade aria2 package to version 1.9.1 from here: Index of /repositories/network:/utilities/openSUSE_11.2
Create ~/.aria2/aria2.conf file in your home directory and put your proxy settings there. You’ll can read more about settings in aria2.conf with man aria2c or in /usr/share/doc/packages/aria2/aria2c.1.html file, section “HTTP/FTP Options”.
After settings, check aria2c work (download something). If no errors (proxy settings, authorization, etc), then copy ~/.aria2/aria2.conf to /root/.aria2/aria2.conf file.
Check zypper work.
If something goes wrong, you can remove aria2.conf file.