[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How can I use rpmInstall() function?? Please help me



thanks a lot!


Alle 17:24, venerdì 19 novembre 2004, Panu Matilainen ha scritto:
> On Fri, 2004-11-19 at 14:54 +0100, Luca Ferrari wrote:
> > Hi all! I'm Luca Ferrari, an Italian Fedora user.
> >
> > I want to write a program in C++ that install Rpm.
> >
> > Now, if I've an rpm package (ex /home/luka/package.rpm) how can I use
> > rpm's function to install rpm package?
> >
> > I've seen rpmcli.h that include rpmInstall() function, but I don't know
> > what I have to do with it.
> >
> > For example, what is transaction?? Adn rpmts structure? How can I use it?
>
> Check out apt-rpm sources, specifically apt-pkg/rpm/rpmpm.cc which takes
> you through all the steps of installing/upgrading/erasing a package
> using rpmlib and in C++.
>
> 	- Panu -
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rpm-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]