Find the answer to your Linux question:
Results 1 to 4 of 4
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?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Banned joewee's Avatar
    Join Date
    Sep 2006
    Posts
    113

    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,729
    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
    Banned joewee's Avatar
    Join Date
    Sep 2006
    Posts
    113
    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. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    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
  •