[Yum] Yum Python Module
Asad
asadxflow at gmail.com
Fri Aug 21 05:22:07 UTC 2015
Thanks, actually I am able to use the API to do the yum install part. My program first installs some dependencies.
For yumdownloader I thought maybe there was some (similar) documentation. But I guess looking into source directly is also not a problem.
Sent from my Xperia™ smartphone
James Antill <james-yum at and.org> wrote:
>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
>_______________________________________________
>Yum mailing list
>Yum at lists.baseurl.org
>http://lists.baseurl.org/mailman/listinfo/yum
More information about the Yum
mailing list