Programmatically obtain list of installed packages

Finnbarr P. Murphy fpm at
Sun Jul 17 19:10:00 UTC 2011

Now that rpmdbOpen, rpmdbClose and other low level rpmdb manipulation 
functions have been removed or internalized what is the recommended way 
to programmatically (C or C++) obtain a list of installed packages?

A short working example would be nice!

- Finn

More information about the Rpm-list mailing list