Today I had to work with both a fedora and an ubuntu machine. The location required setting a proxy.
I did on both: export HTTP_PROXY=proxy:port
And that just worked fine on my fedora machine, but it didn't on the ubuntu machine.
After searching and debugging for way to long I found that ubuntu needs an http_proxy.