On 05/31/2014 09:49 AM, Peter Penzov wrote:
Hi All,
    I need help how to read rpm packages with Java. I found that rpm
database is stored into Berkeley DB database and I can read the database
with Java. The biggest problem that I have is what query I need to make in
order to get for example all installed rpm packages? Where I can take this
information?

Please I need this information!

The exact format of rpmdb is a private rpm implementation detail. Its not Berkeley DB bindings to Java you want, but librpm bindings. Unfortunately nobody has written one, AFAIK.

http://jrpm.sourceforge.net/ might come closest but to my understanding its more of a reimplementation of rpm in Java rather than bindings to librpm.

        - Panu -

_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to