Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I was recently trying to install Ruby from source, due to needing and older version and having yum acting up on me. The problem is, the executable is being ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    CST
    CST is offline
    Just Joined!
    Join Date
    Nov 2010
    Posts
    1

    Source Code Installation Options


    Hello,

    I was recently trying to install Ruby from source, due to needing and older version and having yum acting up on me. The problem is, the executable is being installed to /usr/local/bin instead of /usr/bin. I figure there's probably a way to change the install directory at some point during the configure/make/make install process, but there's no man page for these functions, and Google has not been kind.

    Thus, my questions are twofold:
    1) Does anyone have any good documentation (ideally, with examples/explanations) of command line parameters available for configure and make?
    2) Failing that, can anyone tell me in specific how to install a source code's compiled executable to a specific directory?

    Thanks in advance.

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hello and Welcome.
    Normally and usually but not always...the developers tell you all the available options in the files INSTALL and README. Look for these files after you extract the tarball. I do know that a lot of times you can specify an alternate install directory with make, make install --path/to/install but the exact syntax usually varies from one tarball to the next.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    Nov 2009
    Location
    Sweden
    Posts
    42
    1) ./configure --help
    2) ./configure --prefix=/usr

  4. $spacer_open
    $spacer_close

Posting Permissions

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