Re: Yum Python Module

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

 



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@xxxxxxx> wrote:

>sad man <asadxflow@xxxxxxxxx> 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@xxxxxxx
>_______________________________________________
>Yum mailing list
>Yum@xxxxxxxxxxxxxxxxx
>http://lists.baseurl.org/mailman/listinfo/yum
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum




[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