This is a multi-part message in MIME format. ------ extPart_000_0006_01C11C45.76825A60 Content-Type: text/plain; charset so-8859-1" Content-Transfer-Encoding: 7bit Get the source untar/unzip someplace in your home directory There's a script called 'configure' and you can see all the parameters by running ./configure --help One of the parameters is --prefix. By default this is set to /usr/local, and compiled files end up in places like /usr/local/bin, /usr/local/lib You can explicitly set the prefix to some other place by running configure with the --prefix me/other/place: ./configure --prefix HOME This will create a makefile that is setup to install the compiled code bin and lib directories of your home directory. Then you run make make test make install and you should be good. James -----Original Message----- From: Dat Nguyen [mailto:thucdat / hotmail.com] Sent: Friday, August 03, 2001 3:43 PM To: ruby-talk ML Subject: [ruby-talk:19093] Install Ruby on Unix How to install Ruby on a Unix system as an ordinary user (not as root/system administrator) but being able to run Ruby with all the bells and whistles (irb, Tk, etc.). Thanks, Dat ---------------------------------------------------------------------------- -- Get your FREE download of MSN Explorer at http://explorer.msn.com ------ extPart_000_0006_01C11C45.76825A60 Content-Type: text/html; charset so-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4208.1700" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff size=2>Get the source</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2>untar/unzip someplace in your home directory</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2></FONT></SPAN> </DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2>There's a script called 'configure' and you can see all the parameters by running ./configure --help</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff size=2>One of the parameters is --prefix. By default this is set to /usr/local, and compiled files end up</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff size=2>in places like /usr/local/bin, /usr/local/lib</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2></FONT></SPAN> </DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff size=2>You can explicitly set the prefix to some other place by running configure with the --prefix=some/other/place:</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2></FONT></SPAN> </DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2>./configure --prefix=/$HOME</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2></FONT></SPAN> </DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff size=2>This will create a makefile that is setup to install the compiled code bin and lib directories</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff size=2>of your home directory.</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2></FONT></SPAN> </DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff size=2>Then you run </FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2>make</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff size=2>make test</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff size=2>make install</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2></FONT></SPAN> </DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff size=2>and you should be good.</FONT></SPAN></DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2></FONT></SPAN> </DIV> <DIV><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff ize=2></FONT></SPAN> </DIV> <DIV><FONT face=Tahoma><FONT size=2><SPAN class=413053900-04082001></SPAN></FONT></FONT> </DIV> <DIV><FONT face=Tahoma><FONT size=2><SPAN class=413053900-04082001><FONT face=Arial color=#0000ff>James</FONT></SPAN></FONT></FONT></DIV> <DIV><FONT face=Tahoma><FONT size=2><SPAN class=413053900-04082001> </SPAN></FONT></FONT></DIV> <DIV><FONT face=Tahoma><FONT size=2><SPAN class=413053900-04082001> </SPAN>-----Original Message-----<BR><B>From:</B> Dat Nguyen [mailto:thucdat / hotmail.com]<BR><B>Sent:</B> Friday, August 03, 2001 3:43 PM<BR><B>To:</B> ruby-talk ML<BR><B>Subject:</B> [ruby-talk:19093] Install Ruby on Unix<BR><BR></DIV></FONT></FONT> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid"> <DIV> <DIV> <P>How to install Ruby on a Unix system as an ordinary user (not as root/system administrator) but being able to run Ruby with all the bells and whistles (irb, Tk, etc.).</P> <P>Thanks,</P> <P>Dat</P></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV></DIV><BR clear=all> <HR> Get your FREE download of MSN Explorer at <A href="http://go.msn.com/bql/hmtag_itl_EN.asp">http://explorer.msn.com</A><BR></BLOCKQUOTE></BODY></HTML> ------ extPart_000_0006_01C11C45.76825A60--