Changes

Jump to: navigation, search

Getting and Installing Ruby

303 bytes added, 19:26, 9 November 2007
Red Hat Enterprise and Fedora Linux
There are a number of different Linux distributions available today and it makes sense to install the Ruby package built specifically for your chosen Linux flavor. The best way to do this is to use the standard package manager for that particalur Linux.
=== Ruby on Red Hat Enterprise and Fedora Linux ===
Red Hat Enterprise Linux and Fedora Linux both use the ''YUM'' installation manager and ''rpm''. The first step is to verify if Ruby is installed. This can be achieved using the following rpm command. In this example, Ruby is not yet installed:
rpm -q ruby
ruby-1.8.1-7.EL4.8
</pre>
 
=== Ruby on Ubuntu and Debian Linux ===
 
Debian, Ubuntu and other Debian derived Linux distributions use the ''apt-get'' tool to manage package installation. If you are running Ubuntu Linux and get the following output from the 'ruby'' command, you need to install Ruby:
 
<pre>
</pre>
 
 
</pre>

Navigation menu