Friday, March 8, 2013

How To Install Ruby in Linux


How To Install Ruby in Linux


Debian GNU/Linux uses the apt package manager system. (So does Ubuntu.) You can use it like this:

$ sudo apt-get install ruby1.9.1

Yes, this will install Ruby 1.9.2. It has a ‘library compatibility version’ of 1.9.1, hence the name.
If you install the ‘ruby’ package, you’ll get the older Ruby 1.8.
Arch Linux uses a package manager named pacman. To get Ruby, just do this:


$ sudo pacman -S ruby

On other systems, RVM might be the right choice for you, or you can search the package repository for your Linux distro’s manager.

Source: www.ruby-lang.org

How To Install Ruby in Linux


How To Install Ruby in Fedora

How To Install Ruby in Ubuntu 

No comments:

Post a Comment

Linux Tips and tricks,Online Linux Helpers