Installing Ruby 1.8.6 from Source on Ubuntu Feisty Fawn
Posted to Programming. One Response
Installing Ruby from source is my preferred method, although in Ubuntu Feisty you can supposedly install it with apt-get install ruby now. Here’s the essential packages needed to get a source build working right though and the process I just went through:
sudo apt-get install build-essential
sudo apt-get install libreadline-dev
sudo apt-get install libz-dev (this is necessary for RubyGems to install - amongst other things)
wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz
tar xzvf ruby-1.8.6.tar.gz
cd ruby-1.8.6
./configure
make
make install
And to install RubyGems..
wget http://rubyforge.org/frs/download.php/17190/rubygems-0.9.2.tgz
tar xzvf rubygems-0.9.2.tgz
cd rubygems-0.9.2
ruby setup.rb

May 16th, 2007 at 8:34 am
Thanks for the post. Really useful to get the latest Ruby version installed on Feisty Fawn.