How to install ruby?

6,856

Run these commands on terminal to install Ruby 2.0.

sudo apt-get update
sudo apt-get install ruby2.0 ruby2.0-dev

To check the ruby version,run this

ruby2.0 --version
Share:
6,856
mx7
Author by

mx7

LinkedIn Profile: https://in.linkedin.com/in/raja-genupula-05205531 Endorse me If I helped you. Blog : http://thelinuxmen.blogspot.com/ Ubuntu - CentOS - Fedora - Windows - Severs - IIS - FTP - Security Thank you.

Updated on September 18, 2022

Comments

  • mx7
    mx7 over 1 year

    I am pretty new to ruby world and I don't know about installing it. Viewing methods from blogs with google search but feeling confuse.

    Could somebody help me to setup ruby in my Ubuntu 13.10?

  • mx7
    mx7 over 10 years
    my friend , why didn't you noticed me earlier ?