why apt-get install ruby1.8 on ubuntu version is patch level 36

C

chaoqun

I konw that the last ruby patch is level 111, but when I use apt-get
install ruby I installed ruby1.8 patch level 36.
How can I upgrade it to level 111?
Thanks.
 
T

Tim Hunter

chaoqun said:
I konw that the last ruby patch is level 111, but when I use apt-get
install ruby I installed ruby1.8 patch level 36.
How can I upgrade it to level 111?
Thanks.

Pre-built packages are almost always going to be more-or-less backlevel.
That's just the nature of things. If you want to be on the bleeding edge
then you have to build it yourself.

(Unless you're running into a specific problem with p36 that is fixed in
p111, why bother? I have a rule about updating working code, and that
rule is "don't".)

However, assuming you need p111 for some reason, or you just want to
start building Ruby for yourself so you can stay up to date, the easiest
way to do so is to uninstall the version of Ruby you installed via
apt-get, along with any other Ruby-related packages such as rubygems,
irb, ri, or rdoc, then download the Ruby tarball and build it from scratch.

If you haven't done so already, you'll need to apt-get install
build-essential so you'll have the compiler, etc. Read the README file
in the Ruby tarball for instructions on how to build Ruby.

When you run Ruby's configure command, use the --enable-install-doc
option to get the rdoc indexes built.

/configure --enable-install-doc
make
sudo make install

After installing Ruby, get the RubyGems tarball from the RubyGems
project page on RubyForge. Unzip and untar the tarball and run

sudo ruby setup.rb

to install it. (See http://docs.rubygems.org/read/chapter/3#page13 for
more info.)
 
C

chaoqun

Thanks a lot, Tim. I have built my ruby p111 today with some search
works..

BTW, One-Click Ruby Installer on windows is p111 now.
I'm new to Ubuntu and haven't think that ubuntu has a slower update
than windows. -_-#
 
T

Tim Hunter

chaoqun said:
Thanks a lot, Tim. I have built my ruby p111 today with some search
works..

BTW, One-Click Ruby Installer on windows is p111 now.
I'm new to Ubuntu and haven't think that ubuntu has a slower update
than windows. -_-#

We're lucky to have some very on-the-ball people making the One-Click
Installer.
 
D

Dominik Honnef

Thanks a lot, Tim. I have built my ruby p111 today with some search
works..

BTW, One-Click Ruby Installer on windows is p111 now.
I'm new to Ubuntu and haven't think that ubuntu has a slower update
than windows. -_-#

You can't compare an unofficial program (the one-click installer) with the update policy
of an operating system/a linux distribution.

Besides that, Ubuntu just updates the packages on security issues and every 6 months,
when a new version of Ubuntu is released.
 
M

Marc Heiler

You can't compare an unofficial program (the one-click installer) with
the update policy of an operating system/a linux distribution.

But he can, as far as usability is concerned. The one-click installer is
a joy to use. It does not require a lot of skills to install it.

And on windows, in most cases, it will "just work" (tm) when you install
it.
 
D

Dominik Honnef

But he can, as far as usability is concerned. The one-click installer is
a joy to use. It does not require a lot of skills to install it.

And on windows, in most cases, it will "just work" (tm) when you install
it.

Of course he can compare the usability, but he clearly was complaining about
the slow updates of Ubuntu. The One-Click-Installer and the Ubuntu/Debian
repositories clearly have two very different aims.
 
C

chaoqun

Thanks all, I think that I have a new understanding about Ubuntu and
linux.
I think ubuntu's update policy is quite reasonable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top