Installing Ruby 1.9 on SLEx 10 | SUSE Communities

Installing Ruby 1.9 on SLEx 10


I’ve cross posted this on my personal blog and on openSUSE Lizards (modified for openSUSE 11.2). This is a pretty rudimentary post as installation from source is pretty straightforward, but perhaps it’ll be useful to someone.

The only requirements for this build that I’m aware of at this time are make, gcc, and the openssl/openssl-devel packages.

The default Ruby distribution in SLEx 10 is 1.8.7, contrasting the current stable release of 1.9.1. If you already have Ruby installed via zypper, you’ll need to uninstall it (‘sudo zypper rm ruby’), otherwise the first step is to grab the latest release from

Next, unpack your release (replacing 1.9.1-p376 with the build you downloaded):

tar xfvz ruby-?1.9.1-p376.tar.gz

Change to the extracted directory and run the config script:

cd ruby-1.9.1-p376 && ./configure

Build the release: Note that you can allow jobs to run simultaneously with the -j switch, see make (1) for further details.


Install the release as root:

sudo make install

(Visited 1 times, 1 visits today)

Leave a Reply

Your email address will not be published.

No comments yet