Problems installing Ruby 1.9.2 and rvm on Debian Lenny
- by Dave Everitt
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