Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: RPM alt dir

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    RPM alt dir


    How do you install an RPM to a location other than the location it was scripted for or do I just have to go find the source and install manually?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,776
    do I just have to go find the source and install manually?
    yes ! find the source of rpm file and edit destination path in code.



    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    whats the variable for the currently logged user in creation of a new rpm spec file? -to set install to the currently logged users directory(who every that user may be)? I know windows a variable would be "%username%"...

    Thanx for the help casper!

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,776
    Hi !

    you can use USER variable. check it...

    echo $USER




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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