Results 1 to 3 of 3
hi
i need a small program that will install / erase rpm using rpmlib function rpmInstall()/rpmErase().
but how to work with above 2 function dont have idea.
please suggest me.....
- 06-07-2007 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 16
rpmInstall/rpmErase
hi
i need a small program that will install / erase rpm using rpmlib function rpmInstall()/rpmErase().
but how to work with above 2 function dont have idea.
please suggest me..
- 06-07-2007 #2
Perhaps the following link can help you:
rpminstall.c File Reference
The full API info for rpm is at RPM API Documentation.
- 06-07-2007 #3Just Joined!
- Join Date
- Nov 2006
- Posts
- 16
hi
thnk to reply me
but i m using RHEL4 and rpm version is 4.3.3-XX. in this library rpmInstall() has only 3 arguments...
or if u have an example program how to call rpmInstall() function from our program..
int rpmInstall(rpmts ts, struct rpmInstallArguments_s * ia,
/*@null@*/ const char ** fileArgv)
the above function is in my rpmcli.h header file, i can't predict the first 2 argument.
if u r then plz reply me.


Reply With Quote