Thursday, September 2, 2010

Proxy Settings To Enable Linux Synaptic Access to Network

This took a while to figure out but here is a working solution:

I am running Ubuntu 10.04 Lucid Lynx. The location of some of the programs may differ in your version.


  1.  System - Administration - Synaptic Package Manager - Settings - Preferences - Network... and choose direct connection to network. I Know this defies logic when trying to connect through a proxy server but trust me, it works.
  2. System - Preferences - Network Proxy...once again choose to use the direct Internet connection.
  3. Open your Home Folder and under VIEW, enable your hidden files.
  4. Find BASHRC file
  5. Open and add the following two lines at the bottom:

export HTTP_PROXY=http://LoginName:Password@yourcompanyproxy.com:Port No/
export FTP_PROXY=http://LoginName:Password@yourcompanyproxy.com:Port No/

This should allow your synaptic package manager to access the Internet both the GUI and Command line versions.

Run the following commands to get your Linux up to date.

sudo apt-get update
sudo apt-get upgrade