Saturday, January 2, 2010

Using apt behind a proxy in Ubuntu

It's really easy. All you have to do is:


http_proxy='http://someproxy:someport"
$export http_proxy


and voila, you can apt-get update, apt-get install, whatever.