[Rpm-maint] read rpm database with Java
Peter Penzov
peter.penzov at gmail.com
Wed Jun 4 12:34:49 UTC 2014
Hi, thank you for the answer but I didn't understand much of your comment.
In general what are the ways to read rpm database with Java?
On Wed, Jun 4, 2014 at 3:30 PM, Panu Matilainen <pmatilai at redhat.com> wrote:
> 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
> Rpm-maint at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-maint
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20140604/2e2c4a9c/attachment.html>
More information about the Rpm-maint
mailing list