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

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

 



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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux