# Re: Installing Ruby from source on OSX

**URL:** <https://www.ruby-forum.com/t/re-installing-ruby-from-source-on-osx/71202>\
**Category:** Ruby\
**Created:** [October 6, 2006, 1:38am UTC](https://www.ruby-forum.com/t/re-installing-ruby-from-source-on-osx/71202 "2006-10-06T01:38:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [October 6, 2006, 1:38am UTC](https://www.ruby-forum.com/t/re-installing-ruby-from-source-on-osx/71202/1 "2006-10-06T01:38:06Z")

</div>

From: Drew O.

> I’ve become a die-hard Ruby fan in the past few months. I’m currently  
> using 1.8.5 on my work PC and want to upgrade on my mac at  
> home, which  
> is currently running 1.8.2. It seems the neither Fink nor Darwinports  
> has 1.8.5 available so I’d like to install from source, but  
> I’ve never  
> done this before.
> 
> Can anyone offer help (like step by step) to a total newbie when it  
> comes to installing from source?

I’m on a Windows box and writing from memory, so forgive me if the  
following fails:

1. Install MacOS X Developer Tools CD
2. Open a terminal window  
sudo bash  
(enter your root password here)  
cd /usr/local/src  
curl -O ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz  
tar xzf ruby-1.8.5.tar.gz  
cd ruby-1.8.5  
./configure  
make && make install  
^D (logout)
