Alex
Alex

Reputation: 36121

Why can't I install ruby 1.9.2 on Ubuntu via apt-get?

apt-get install ruby

Installs ruby 1.8.7

When I install ruby 1.9.2 from sources via ./configure make install, ruby is not installed (ruby -v gives nothing).

So how can I install ruby 1.9.2 on Ubuntu?

Upvotes: 2

Views: 7596

Answers (4)

Deepan Prabhu Babu
Deepan Prabhu Babu

Reputation: 912

You can also proceed to upgrade the ruby installation, as below,

sudo apt-get upgrade ruby

Upvotes: 0

germanlinux
germanlinux

Reputation: 2511

I use rvm Ruby Version Manager on my ubuntu-10.04.1-desktop. With ruby-1.9.2 , ruby 1.8.7 no problem.

Upvotes: 4

Jörg W Mittag
Jörg W Mittag

Reputation: 369498

  • on 10.10 "Maverick Meerkat": apt-get install ruby1.9.1
  • on 10.04 "Lucid Lynx": Ruby 1.9.2 was only released a couple of weeks ago, it didn't exist when Lucid was frozen.

Upvotes: 1

enzotib
enzotib

Reputation: 1644

You can install ruby 1.9.1 with

sudo apt-get install ruby1.9.1

ruby 1.9.2 is not available for lucid (but I have not checked backports).

Upvotes: 0

Related Questions