Installing 1.8.5 on Debian

Hey guys,

I’m new to Ruby, and I’m using Debian GNU/Linux. I like it for the
package management – BUT, the latest package I can find is 1.8.2.

I’d like to maintain Debian’s package management system (rather than
compiling/installing source manually). Is there any way I can do that?
Maybe a .deb distribution of the latest version available?

Or… if there’s a way to compile from source but somehow still
maintain it from the package manager, I’d appreciate any info you can
provide.

Thanks! -Lee


Now you can scan emails quickly with a reading pane. Get the new Yahoo!
Mail. http://uk.docs.yahoo.com/nowyoucan.html

I just did an automatic install of 1.8.4 on Debian

Lee Benson wrote:

Hey guys,

I’m new to Ruby, and I’m using Debian GNU/Linux. I like it for the package management – BUT, the latest package I can find is 1.8.2.

Latest version in the archive is 1.8.5; have a look there:

http://packages.debian.org/unstable/interpreters/ruby1.8

You’ll need to have an unstable distribution in you
/etc/apt/sources.list. I don’t think there is any backport for stable,
but you can try installing directly with the .debs found on the previous
page.

Cheers !

Vince

Lee Benson wrote:
You’ll need to have an unstable distribution in you
/etc/apt/sources.list. I don’t think there is any backport for stable,
but you can try installing directly with the .debs found on the previous
page.

The .debs built for testing and unstable depend on a newer version of
libc6 than stable has.

Add testing to /etc/apt/sources.list and then run
apt-get build-dep ruby1.8
apt-get source --build ruby1.8

You’ll end up with a pile of Ruby .debs that you can install with dpkg
-i.