[Rpm-maint] read rpm database with Java
pmatilai at redhat.com
Wed Jun 4 12:30:02 UTC 2014
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
> 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
- Panu -
More information about the Rpm-maint