[Yum] Yum using a proxy to fetch?

Joe Cooper joe at swelltech.com
Mon Sep 2 11:50:54 UTC 2002


Answered my own question after digging into the source.

yum uses urllib to handle its retrieval, thus 'standard' environment 
variables are supported for configuring a proxy.

So to retrieve through a proxy:

export http_proxy=http://proxy.address:3128

I've just tested this and it seems to work flawlessly.

Cool.  Yum is perfect once again.

Joe Cooper wrote:
> Hi folks,
> 
> Does Yum have the ability to fetch its files through a proxy?  The 
> manpages don't turn up anything, but I'm hoping perhaps there is an 
> underlying URL getting module doing the fetching which might not be 
> documented in the yum pages...
> 
> Thanks!


-- 
Joe Cooper <joe at swelltech.com>
Web caching appliances and support.
http://www.swelltech.com




More information about the Yum mailing list