[techtalk] Debian and DHCP

Fan, Laurel Laurel.Fan at compaq.com
Thu Jul 13 17:02:32 EST 2000


Kath, ranger at optonline.net, said:
> How can I setup apt-get to work through a proxy?

For an http proxy, set the environment variable[1] http_proxy to
your proxy's url (ie. http://proxy:port/). This also works for
other http-y things, like lynx, so it would probably be worth it
to put it in .profile/.cshrc.

[1] if you don't know how to set an environment variable:
for bash:
export http_proxy=http://proxy:port/
for csh:
setenv http_proxy http://proxy:port/





More information about the Techtalk mailing list