How to install Ruby 1.8.7 on centos 5.5

Source: Internet
Author: User



Link: http://heatware.net/linux-unix/how-to-install-ruby-1-8-7-centos-5-5/

Have you ever tried to run the yum install Ruby command on centos 5.5? If you use the default application library configuration, you will find that you have installed Ruby 1.8.5 of the old version. If you are not ready to upgrade to Ruby 1.9, but you are ready to install Ruby 1.8.7, please refer to it!


1 yum install -y gcc zlib zlib-devel 
2 wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.7-p334.tar.gz 
3 tar xvf ruby-1.8.7-p334.tar.gz 
4 cd ruby-1.8.7-p334 
5 ./configure --enable-pthread 
6 make 
7 make install 

* Translator's note: when translating this article, the latest stable release version of Ruby 1.8 is 1.8.7-p334, so the above command has been modified accordingly.


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.