Problems installing Ruby 1.9.2 and rvm on Debian Lenny

Posted by Dave Everitt on Super User See other posts from Super User or by Dave Everitt
Published on 2012-03-30T17:30:59Z Indexed on 2012/03/30 17:33 UTC
Read the original article Hit count: 342

Filed under:
|

I have currently have Ruby 1.9.1 (bad) and want to install 1.9.3 under rvm. However, rvm requirements gives a long list:

install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion

But I've hit a problem here:

/# apt-get install libreadline6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package libreadline6

...and (I imagine after just hunting down a Debian source to download curl) finding these packages isn't going to be a picnic. Given that there are few packages to install before I can get rvm to install Ruby 1.9.3, what's a good way forward?

My sources.list:
deb http://archive.debian.org/debian/ lenny main contrib

© Super User or respective owner

Related posts about dependencies

Related posts about rvm