Ruby Basics
Ruby Advanced
Ruby Useful References
Ruby Useful Resources
Selected Reading
© 2011 TutorialsPoint.COM
|
Ruby Installation - Unix
Here are the steps to be followed to install Ruby on a Unix machine:
NOTE: Before proceeding make sure you have root privilege.
Download a zipped file having latest version of Ruby. Follow Download Link.
After having downloaded the Ruby archive, unpack it and change into the newly created directory:
$ tar -xvzf ruby-1.6.7.tgz
$ cd ruby-1.6.7
|
$ su -l root # become a root user
$ make install
$ exit # become the original user again
|
$ruby -v
ruby 1.6.7 (2002-06-04) [i386-netbsd]
|
Using yum to install Ruby:
If your computer is connected to the Internet then easiest way to install ruby or any other other RPM is using yum utility. Give following command at command prompt and you will find ruby gets installed on your computer.
|
|
|