Friday, April 1, 2011

Using apt with a proxy in Ubuntu 10.10

1. Edit the fiel /etc/apt/apt.conf. Create one if it does not exist.
2. Add the following lines after making changes to the proxy server.


Acquire::http::Proxy "http://proxy.example.com/";
Acquire::ftp::Proxy "http://proxy.example.com/";