Install Ruby in Linux

Hi ..To install ruby do the following..

There are 3 ways to install

1)Open the terminal and type

sudo apt-get install ruby

It will ask for the password after giving password it will install ruby.

To check ruby is installed in your system type the following command

ruby -v

It will return the version of the ruby installed in your system such as

ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]

 

2)To install ruby from ubuntu software center

Open the ubuntu software center and search ruby then

click the ruby to Install.

3)To install by synaptic packet manager

Open the synaptic packet manager

Search the ruby package

Mark Ruby for installation

Click Apply in above panel

It will install ruby in your system..

 

Now you have successfully installed ruby in your system and now start working on it.

Author: Balaji

Hi..My name is Balaji and i am working as a Senior Software Developer in India. I am interested in Shell scripts, python, erlang , linux kernel .

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: