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

**URL:** <https://www.ruby-forum.com/t/why-apt-get-install-ruby1-8-on-ubuntu-version-is-patch-level-36/129360>\
**Category:** Ruby\
**Created:** [February 17, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/why-apt-get-install-ruby1-8-on-ubuntu-version-is-patch-level-36/129360 "2008-02-17T15:15:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaoqun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@chaoqun](https://www.ruby-forum.com/u/chaoqun)\
**Post date:** [February 17, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/why-apt-get-install-ruby1-8-on-ubuntu-version-is-patch-level-36/129360/1 "2008-02-17T15:15:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![chaoqun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@chaoqun](https://www.ruby-forum.com/u/chaoqun)\
**Post date:** [February 17, 2008, 3:59pm UTC](https://www.ruby-forum.com/t/why-apt-get-install-ruby1-8-on-ubuntu-version-is-patch-level-36/129360/2 "2008-02-17T15:59:36Z")

</div>

chaoqun wrote:

> 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](http://docs.rubygems.org/read/chapter/3#page13) for  
more info.)

---

<div class="post-metadata">

**Author:** ![chaoqun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@chaoqun](https://www.ruby-forum.com/u/chaoqun)\
**Post date:** [February 17, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/why-apt-get-install-ruby1-8-on-ubuntu-version-is-patch-level-36/129360/3 "2008-02-17T17:05:44Z")

</div>

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. -\_-#

---

<div class="post-metadata">

**Author:** ![chaoqun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@chaoqun](https://www.ruby-forum.com/u/chaoqun)\
**Post date:** [February 17, 2008, 7:05pm UTC](https://www.ruby-forum.com/t/why-apt-get-install-ruby1-8-on-ubuntu-version-is-patch-level-36/129360/4 "2008-02-17T19:05:30Z")

</div>

chaoqun wrote:

> 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.

---

<div class="post-metadata">

**Author:** ![chaoqun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@chaoqun](https://www.ruby-forum.com/u/chaoqun)\
**Post date:** [February 17, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/why-apt-get-install-ruby1-8-on-ubuntu-version-is-patch-level-36/129360/5 "2008-02-17T19:40:18Z")

</div>

On [Mon, 18.02.2008 01:04], chaoqun wrote:

> 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.

---

<div class="post-metadata">

**Author:** ![chaoqun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@chaoqun](https://www.ruby-forum.com/u/chaoqun)\
**Post date:** [February 17, 2008, 9:14pm UTC](https://www.ruby-forum.com/t/why-apt-get-install-ruby1-8-on-ubuntu-version-is-patch-level-36/129360/6 "2008-02-17T21:14:07Z")

</div>

> 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” ™ when you install  
it.

---

<div class="post-metadata">

**Author:** ![chaoqun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@chaoqun](https://www.ruby-forum.com/u/chaoqun)\
**Post date:** [February 17, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/why-apt-get-install-ruby1-8-on-ubuntu-version-is-patch-level-36/129360/7 "2008-02-17T21:56:25Z")

</div>

On [Mon, 18.02.2008 05:14], Marc H. wrote:

> > 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” ™ when you install it.
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

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

---

<div class="post-metadata">

**Author:** ![chaoqun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@chaoqun](https://www.ruby-forum.com/u/chaoqun)\
**Post date:** [February 18, 2008, 1:25pm UTC](https://www.ruby-forum.com/t/why-apt-get-install-ruby1-8-on-ubuntu-version-is-patch-level-36/129360/8 "2008-02-18T13:25:25Z")

</div>

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