[Yum] Yum using a proxy to fetch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
Web caching appliances and support.
http://www.swelltech.com



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux