Download and install ruby under Windows and Linux _ruby topics

Source: Internet
Author: User
Tags md5

Here you can download the latest Ruby version that is right for you, and the current stable version is 1.8.6. Please read Ruby open source license before downloading.

Ruby Source Code

Installing from source is the best solution if you want to make it more compatible with your platform or if you need to set up your environment in a single-minded way. This is also a good approach if you have a packages that you need to install on your platform.

    • Ruby 1.8.6 (md5:23d2494aa94e7ae1ecbbb8c5e1507683) stable version ( recommended )
    • Stable snapshots here the tar ' Ed and gzip ' Ed files are the latest stable CVS. It should be more stable than the last released version.
    • Development Snapshots here the tar ' Ed and gzip ' Ed files are the latest CVS. It may contain some unresolved issues.

See Ruby Core page for more information.

Windows system

There are several options for installing Ruby under the Windows platform. The first option is to install only the compiled binaries. The second option is to go directly to the "one-step Installation" program, and if you don't know how to install Ruby, one step installation will be your best choice. (This installation, in addition to Ruby, bundles some additional resource pools.) )

    • Ruby 1.8.61 Step Installation (md5:3b768d48ed4e25991762e8c76e54f28d) stable version ( recommended )
    • Ruby 1.8.62 Binary (md5:d4ca9d387614108156289fb6c4208dd0) stable version ( recommended )
    • Ruby 1.9.2 binary (md5:9809f6e9bc7795f83612b369e36c8724) Development version ( experiment )

Linux system

Ruby is pre-installed in many Linux distributions, and if Ruby is not installed on your system, there are several ways to install it. The first way is to download only the source code, and then compile the installation manually. If you do not want to waste time from source code compilation, many platforms provide the appropriate machine architecture distribution package, which makes Ruby installation fairly easy.

For example, the use of Debian or Ubuntu apt-get offers a simple and elegant solution:

% sudo apt-get install ruby irb rdoc

For IRB and RDoc, you need to activate universe repository.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.