[Rpm-maint] API Documentation for RPM

Paul Nasrat pnasrat at redhat.com
Mon Jul 30 09:10:53 UTC 2007

On Mon, 2007-07-30 at 00:10 +0530, Rogue wrote:
> Hash: SHA1
> Hi All,
> I am trying to toy around with the idea of providing Java bindings for
> the RPM package. Now, I am good at my Java skills but my C skills are
> rusty and I thought I might hone them by trying out this project.

There are already several sets of java bindings you may want to look at

Pure java - http://jrpm.sourceforge.net/
Pure java - http://www.freecompany.org/redline/index.html

Some NC students wrote a JNI binding as part of a summer project:


I think I have a copy of the above somewhere but will need to check.

> Now, could you please point in the direction of the devloper's guide to
> the RPM package. 

Best bet is to look at the doxygen docs in the rpm-devel package. eg:


And the Red Hat RPM Guide has some C API examples:



More information about the Rpm-maint mailing list