Download and install Ruby in Windows and Linux

Source: Internet
Author: User
ArticleDirectory
    • Ruby source code
    • Windows
    • Linux





Here, you can download the latest Ruby version suitable for you. The current stable version is 1.8.6. Read the ruby open source license before downloading it.


Ruby Source code


If you want to make it more compatible with your platform or you need to set up your environmentCodeInstallation is the best solution. This is also a good method if you have prepared packages to be installed on your platform.


    • Ruby 1.8.6 (MD5: 23d2494aa94e7ae1ecbbb8c5e1507683) stable version (Recommendation)
    • The tar 'ed and gzip 'ed files in the stable version snapshot are the latest and stable.CVS. It should be more stable than the last release.
    • The tar 'ed and gzip 'ed files in the Development snapshot are the latest.CVS. It may contain some unsolved problems.


For more information, see the ruby core page.


Windows


There are several options for installing Ruby on Windows. The first option is to install only compiled binary files. The second option is to directly execute "one-step installation"ProgramIf you do not know how to install Ruby, one-step installation is your best choice. (In addition to Ruby, this installation method binds some additional resource libraries .)


    • Ruby 1.8.6 one-step installation (MD5: 3b768d48ed4e25991762e8c76e54f28d) stable version (Recommendation)
    • Ruby 1.8.6 binary (MD5: d4ca9d387614213156289fb6c4208dd0) stable version (Recommendation)
    • Ruby 1.9.0 binary (MD5: 9809f6e9bc7795f83612b424e36c8724) Development edition (Lab)
Linux


Ruby has been pre-installed in many Linux distributions. If Ruby is not installed on your system, several methods are provided for installation. The first method is to download only the source code and then compile and install it manually. If you don't want to waste time compiling from source code, many platforms provide release packages for the corresponding machine architecture, which makes Ruby installation quite easy.



For example, Debian or UbuntuApt-GetIt provides 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.