Monday, February 4, 2013

How to get apt-get to work behind a proxy in Ubuntu

Add the following line (you need to modify to your situation)
Acquire::http::proxy "http://[username]:[password]@[www.proxy.net]:[port_number]/";
to this file /etc/apt/apt.conf

No comments: