APT behind a proxy
Heya, I'm planning to put debian on ma machine in the near future (I'm sick of suse) and I was wondering whether apt-get works behind a proxy server??? or any work arounds.
Plus while I'm here does the same work for emerge on gentoo if anyone knows |
Yes and Yes.
Gentoo Code:
[ken:ken](06:48 PM)$ cat /etc/make.conf | grep proxy Code:
http HTTP URIs; http::Proxy is the default http proxy to use. It is |
|
more words, some debian update site support both http protocal and ftp protocal, make sure you get the right one.
|
apt-config -o http::Proxy=<proxy information> shell
will set the apt proxy for http, use ftp::Proxy for ftp. <proxy information> as in the man pages or as described in the second post. |
All times are GMT -5. The time now is 01:15 PM. |