linux

Download Ruby for Linux

Ruby On Linux

Depending on the distribution you are using, there are several ways to install Ruby. The first option is simply to download the source code and compile by hand. However, on some platforms, there are package management solutions that make installing Ruby extremely easy.

For example, on Debian or Ubuntu apt-get provides an easy and elegant solution:

% sudo apt-get install ruby irb rdoc

For irb and rdoc you will need to enable the universe repository.

Ruby Source Code

Installing from the source code is a great solution for when you are comfortable enough with your platform and perhaps need specific settings for your environment. It’s also a good solution in the event that there are no other premade packages for your platform.

  • Ruby 1.8.6-p111 (md5: c36e011733a3a3be6f43ba27b7cd7485) Stable Version (recommended)
  • Stable Snaphot This is tar’ed and gzip’ed file of the latest stable CVS. It should be better than the last stable release.
  • Nightly Snaphot This is tar’ed and gzip’ed file of the latest CVS. It may contain unfixed problems.

For information about the Ruby Subversion repository, see our Ruby Core page.

Syndicate content