# Installation Problem

**URL:** <https://www.ruby-forum.com/t/installation-problem/68549>\
**Category:** Ruby\
**Created:** [September 13, 2006, 3:19pm UTC](https://www.ruby-forum.com/t/installation-problem/68549 "2006-09-13T15:19:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![atraeyu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@atraeyu](https://www.ruby-forum.com/u/atraeyu)\
**Post date:** [September 13, 2006, 3:19pm UTC](https://www.ruby-forum.com/t/installation-problem/68549/1 "2006-09-13T15:19:24Z")

</div>

Let me preface my question with: I’m new to both Linux & Ruby.  
Yesterday I installed Ubuntu Linux, with the intention of installing  
ruby and learning and learning the language.

I immediately went to [ruby-lang.com](http://ruby-lang.com), clicked the 20 minutes link, and  
proceeded to follow the debian/unbuntu downloaded instructions:

sudo apt-get install ruby1.8 irb1.8 rdoc1.8

The packages irb1.8 and rdoc1.8 cannot be found.

Booting up synaptic package manager, I searched for ruby1.8, found the  
ruby1.8.4 package but when searching for irb1.8 and rdoc1.8 it only  
returns the ruby1.8 package.

Perhaps this means that the instructions on the website are for the  
1.8.2 version and the 1.8.4 package has all three of those packages  
bundled in the ruby1.8 package?

After installing the Ruby1.8 (1.8.4 version) I followed the next  
instruction: open up a shell and boot irb by using the command: “irb” -  
no luck. Command not found.

Can anyone enlighten me as to what I am doing wrong? I would really  
appreciate it.

Thank you.

---

<div class="post-metadata">

**Author:** ![atraeyu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@atraeyu](https://www.ruby-forum.com/u/atraeyu)\
**Post date:** [September 13, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/installation-problem/68549/2 "2006-09-13T15:31:20Z")

</div>

> > > > > “N” == Nathan F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

N\> The packages irb1.8 and rdoc1.8 cannot be found.

Look in the file

/etc/apt/sources.list

you’ll find something like this

## Uncomment the following two lines to add software from the ‘universe’

## repository.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the

Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as

to

## your rights to use the software. Also, please note that software in

## universe WILL NOT receive any review or updates from the Ubuntu

security

## team.

#deb [fr.archive.ubuntu.com / ubuntu.lafibre.info](http://fr.archive.ubuntu.com/ubuntu/) dapper universe  
#deb-src [fr.archive.ubuntu.com / ubuntu.lafibre.info](http://fr.archive.ubuntu.com/ubuntu/) dapper universe

uncomment the 2 lines #deb …, then

apt-get update # to retrieve the list of new packages  
apt-get install ruby1.8 irb1.8 rdoc1.8

and normally it will find irb

Guy decoux

---

<div class="post-metadata">

**Author:** ![atraeyu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@atraeyu](https://www.ruby-forum.com/u/atraeyu)\
**Post date:** [September 13, 2006, 3:50pm UTC](https://www.ruby-forum.com/t/installation-problem/68549/3 "2006-09-13T15:50:24Z")

</div>

Rod G. wrote:

> Hi Nathan,
> 
> Let me preface my question with: I’m new to both Linux & Ruby.
> 
> > Yesterday I installed Ubuntu Linux, with the intention of installing  
> > ruby and learning and learning the language.
> 
> I’m no Ubuntu expert either so I can only be a little help.
> 
> I immediately went to [ruby-lang.com](http://ruby-lang.com), clicked the 20 minutes link, and
> 
> > proceeded to follow the debian/unbuntu downloaded instructions:
> > 
> > sudo apt-get install ruby1.8 irb1.8 rdoc1.8
> > 
> > The packages irb1.8 and rdoc1.8 cannot be found.
> > 
> > Booting up synaptic package manager, I searched for ruby1.8, found the  
> > ruby1.8.4 package but when searching for irb1.8 and rdoc1.8 it only  
> > returns the ruby1.8 package.
> 
> Try this process with the unsupported repositories included (should be a  
> toggle box). I can’t remember if it is labeled “hoary” or “universe” or  
> what but many packages live outside the primary setup that comes as  
> default  
> with the Ubuntu install.
> 
> Hope this helps, Rod.

Thanks! In synaptic I simply enabled the community supported  
repositories (universe). It immediately found and installed irb.  
Thanks again!

---

<div class="post-metadata">

**Author:** ![atraeyu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@atraeyu](https://www.ruby-forum.com/u/atraeyu)\
**Post date:** [September 13, 2006, 3:37pm UTC](https://www.ruby-forum.com/t/installation-problem/68549/4 "2006-09-13T15:37:21Z")

</div>

Hi Nathan,

Let me preface my question with: I’m new to both Linux & Ruby.

> Yesterday I installed Ubuntu Linux, with the intention of installing  
> ruby and learning and learning the language.

I’m no Ubuntu expert either so I can only be a little help.

I immediately went to [ruby-lang.com](http://ruby-lang.com), clicked the 20 minutes link, and

> proceeded to follow the debian/unbuntu downloaded instructions:
> 
> sudo apt-get install ruby1.8 irb1.8 rdoc1.8
> 
> The packages irb1.8 and rdoc1.8 cannot be found.
> 
> Booting up synaptic package manager, I searched for ruby1.8, found the  
> ruby1.8.4 package but when searching for irb1.8 and rdoc1.8 it only  
> returns the ruby1.8 package.

Try this process with the unsupported repositories included (should be a  
toggle box). I can’t remember if it is labeled “hoary” or “universe” or  
what but many packages live outside the primary setup that comes as  
default  
with the Ubuntu install.

Hope this helps, Rod.
