how can I set apt-get to work behind proxy?
should work. If you require authentication, try
And if you want this to be permenant, you should probably set the http_proxy (and ftp_proxy?) variables in your |
|||||
|
|
in /etc/apt/apt.conf, add the line:
From: http://ubuntuforums.org/showthread.php?t=96802 (Note: completely stolen from this answer to my similar question on SF. Cred to Grizzly) |
|||
|
|
|
A proxy is specified by setting the
However, setting them this way does not help when running
This line resets all environment variables when using
This way, you get |
||||
|
|