[Yum] Yum Python Module

James Antill james-yum at and.org
Fri Aug 21 03:45:21 UTC 2015


sad man <asadxflow at gmail.com> writes:

> Hi, I am using Python 2.7 and wanted to do use the yum python module to do
> "yumdownloader". Is there any documentation to use |yum-utils" from within
> Python?

 No, they aren't meant to be used as modules.

> Currently I have to run the command-line "yumdownloader ..." from my python
> script.

 For downloading you can look (and copy) what yumdownloader/reposync
is doing. Or get URLs and download them manually, but this is not a
great idea due to client certs. etc.

-- 
James Antill -- james at and.org


More information about the Yum mailing list