Find the answer to your Linux question:
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.....
  1. #1
    Just 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..

  2. #2
    Just Joined! Sivel's Avatar
    Join Date
    Jun 2005
    Location
    Maryland
    Posts
    20
    Perhaps the following link can help you:

    rpminstall.c File Reference

    The full API info for rpm is at RPM API Documentation.

  3. #3
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...