[How To] Set proxy for apt-get, update in linux
• Put the following into your /etc/bash.bashrc file (after putting in the proper servername/IP and port number). Just include the server/port if you have no authentication on your proxy server. # Proxy settingsexport http_proxy=http://user:password@my.proxy.server:port/export ftp_proxy=http://user:password@my.proxy.server:port/ • Add these lines, open a new root terminal, and then run your apt-get from the command line.