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-24-2010 #1
- Join Date
- Nov 2010
Source Code Installation Options
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.
- 11-24-2010 #3
- Join Date
- Nov 2009
1) ./configure --help
2) ./configure --prefix=/usr