[Yum-devel] API

Brian Long brilong at cisco.com
Fri Feb 3 14:24:09 UTC 2006


On Fri, 2006-02-03 at 08:56 -0500, Neal Becker wrote:
> I wonder if there is any doc that would help me use yum api.  I have written a 
> few little scripts for myself, such as, "find all rpms installed on machine A 
> but not on machine B that are available from archives", but right now relying 
> on command line interface to yum.  My scripts are all python, it would be 
> nicer to use yum python directly.  Problem is, I don't know anything about 
> yum api (yet).

Check out the yum-utils stuff.  Scripts like repoquery should give you a
good idea on how to do things.

/Brian/

-- 
       Brian Long                      |         |           |
       IT Data Center Systems          |       .|||.       .|||.
       Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
       Phone: (919) 392-7363           |   C i s c o   S y s t e m s




More information about the Yum-devel mailing list