Find the answer to your Linux question:
Results 1 to 5 of 5
I want to fetch rpm information or installed programs' list (through rpm only). Is there any java package or library for that?...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    7

    How to access rpmdb in red hat by java coding?

    I want to fetch rpm information or installed programs' list (through rpm only). Is there any java package or library for that?

  2. #2
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    The only thing I know of is jRPM. Is there a reason you must do this in Java?

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    7
    Thanks.. thank you..
    I was searching for the same..
    I want to check without terminal can we fetch the rpm list( by programming language like jave). I need that with reference to my project..

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    well, seeing as how this assumes you are running on a machine that has RPM installed anyway, might as well just use the command line one, i'm not familiar with jrpm so possibly it is more convenient

  5. #5
    Linux Newbie
    Join Date
    Sep 2005
    Location
    CZ
    Posts
    164

    Lightbulb

    Quote Originally Posted by ykmantri View Post
    Thanks.. thank you..
    I was searching for the same..
    I want to check without terminal can we fetch the rpm list( by programming language like jave). I need that with reference to my project..
    If you aren't limited to Java, there is the RPM API available for coding in C.

Posting Permissions

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