Subj : Re: How to get the info of installed package To : comp.os.linux From : rdgentry1 Date : Sat Sep 04 2004 10:47 pm vanjina_murthy@rediffmail.com (Murthy) wrote in message news:<1d1f73fd.0409032358.34b14975@posting.google.com>... > Hi, > > I am developing an installation program using C. I want to known is > there any api to get the info of installed package ( similar to rpm > -ql package-name ). > > Thanks in advance > > Murthy Except for the info in Maximum RPM ( http://rpm.org/ which may come with your distro) viz. /max-rpm-html.tgz/max-rpm/ch-rpm-rpmlib.html the only other thing I'm aware of that documents the api is here: http://rpm.org/rpmapi-4.1/modules.html. Put on a _big_ cup of your favorite stimulant before diving into these docs ;-) Unless you have an uncommon reason (and need an uncommon installation program) I would suggest you stay with the usual installation method provided on each platform or just a .tgz if you can. hth, prg email above disabled .