Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I am finding the installed location of a package by: rpm -qi <package_name> And then parse the string "Relocations". If i relocate this package during installation with --relocate option ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    5

    Find installed location of a relocatable package


    Hi,

    I am finding the installed location of a package by:
    rpm -qi <package_name>

    And then parse the string "Relocations".
    If i relocate this package during installation with --relocate option , the "Relocations" string still shows the old value. Though the package has been installed on the new location.

    How can i figure out where the package has been installed later.

    Thanks

  2. #2
    Just Joined!
    Join Date
    Jun 2009
    Posts
    29
    rpm -ql does that.
    rpm -qp for not installed package.

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    5
    Does that mean i have to parse all the files listings?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Apr 2009
    Posts
    5
    You are talking AIX terminology

    BTW, could you complete that?

Posting Permissions

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