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.
- 11-23-2010 #1Just 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.
- 11-24-2010 #2
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.
- 11-24-2010 #3Just Joined!
- Join Date
- Nov 2009
- Location
- Sweden
- Posts
- 35
1) ./configure --help
2) ./configure --prefix=/usr


Reply With Quote
