Blog‎ > ‎

wget, Ubuntu 10.04 and environment variables

posted Aug 13, 2010, 5:29 AM by Andre Rossouw   [ updated Oct 13, 2010, 5:42 AM ]
On Ubuntu 10.04 wget will not work through a proxy. From reading all other posts related to wget and proxies, wget is meant to honour environment variables such as http_proxy.
In my experience though, wget will simply not honour these variables. Unless it is run as root... not sudo, mind you, *root*.

So for me to fix my flashplugin-installer issue, I had to run it as root.

$ sudo su -

# export http_proxy="proxy:port"
# apt-get -y remove flashplugin-installer
# apt-get -y install flashplugin-installer


Then I mosey along to launchpad to see if I can report this. Eh... no.