# Installing Ruby on Red Hat Enterprise Edition on a Terminal

**URL:** <https://www.ruby-forum.com/t/installing-ruby-on-red-hat-enterprise-edition-on-a-terminal/127168>\
**Category:** Ruby\
**Created:** [January 25, 2008, 6:23pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-red-hat-enterprise-edition-on-a-terminal/127168 "2008-01-25T18:23:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![StecklyS\_Ron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dfb087/32.png) [@StecklyS\_Ron](https://www.ruby-forum.com/u/StecklyS_Ron)\
**Post date:** [January 25, 2008, 6:23pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-red-hat-enterprise-edition-on-a-terminal/127168/1 "2008-01-25T18:23:10Z")

</div>

Hi all,

I just got a new VPS running Red Hat Enterprise Edition. Sort of regret  
it now, as I’ve always run things on Debian where I just use the sudo  
apt-get install command to get ruby and ruby gems on there. Do any of  
you know of resources to get Ruby on Red Hat? I googled, but nothing  
came up. Is it just me or shouldn’t this be obvious?

Ron

---

<div class="post-metadata">

**Author:** ![StecklyS\_Ron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dfb087/32.png) [@StecklyS\_Ron](https://www.ruby-forum.com/u/StecklyS_Ron)\
**Post date:** [January 25, 2008, 6:51pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-red-hat-enterprise-edition-on-a-terminal/127168/2 "2008-01-25T18:51:18Z")

</div>

On Sat, 2008-01-26 at 02:22 +0900, Steckly, Ron wrote:

> Ron

RHEL 4:

> **[Product Documentation for Red Hat Enterprise Linux 9 | Red Hat Customer Portal](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9)**
>
> Access Red Hat’s knowledge, guidance, and support through your subscription.

RHEL 5:

> **[Product Documentation for Red Hat Enterprise Linux 9 | Red Hat Customer Portal](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9)**
>
> Access Red Hat’s knowledge, guidance, and support through your subscription.

HTH,

Felix

---

<div class="post-metadata">

**Author:** ![StecklyS\_Ron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dfb087/32.png) [@StecklyS\_Ron](https://www.ruby-forum.com/u/StecklyS_Ron)\
**Post date:** [January 25, 2008, 10:56pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-red-hat-enterprise-edition-on-a-terminal/127168/3 "2008-01-25T22:56:30Z")

</div>

On Jan 25, 2008, at 9:22 AM, Steckly, Ron wrote:

> Hi all,
> 
> I just got a new VPS running Red Hat Enterprise Edition. Sort of  
> regret  
> it now, as I’ve always run things on Debian where I just use the sudo  
> apt-get install command to get ruby and ruby gems on there. Do any of  
> you know of resources to get Ruby on Red Hat? I googled, but nothing  
> came up. Is it just me or shouldn’t this be obvious?

I’m running the same setup and I ftp downloaded it from the 1.8.6p111  
sources, built it and it installed without a hitch. I then rebuilt  
rubygems and life has been wonderful ever since 🙂

It’s hard to learn from “works for me” stories, but the build process  
is quite straightforward.

---

<div class="post-metadata">

**Author:** ![StecklyS\_Ron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dfb087/32.png) [@StecklyS\_Ron](https://www.ruby-forum.com/u/StecklyS_Ron)\
**Post date:** [January 27, 2008, 9:42am UTC](https://www.ruby-forum.com/t/installing-ruby-on-red-hat-enterprise-edition-on-a-terminal/127168/4 "2008-01-27T09:42:22Z")

</div>

On Jan 25, 2008 10:22 AM, Steckly, Ron [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> you know of resources to get Ruby on Red Hat?

If you are looking for a precompiled Ruby RPM that was tested on RHEL  
(by the way, which version?), one place you can get it is the RPM repo  
of RubyWorks Production Stack:  
[http://rubyworks.rubyforge.org/redhat/](http://rubyworks.rubyforge.org/redhat/)

It has more than just Ruby, but Ruby RPM is there somewhere, too.

---

<div class="post-metadata">

**Author:** ![StecklyS\_Ron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dfb087/32.png) [@StecklyS\_Ron](https://www.ruby-forum.com/u/StecklyS_Ron)\
**Post date:** [January 28, 2008, 2:10pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-red-hat-enterprise-edition-on-a-terminal/127168/5 "2008-01-28T14:10:41Z")

</div>

On Jan 25, 5:22 pm, “Steckly, Ron” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi all,
> 
> I just got a new VPS running Red Hat Enterprise Edition. Sort of regret  
> it now, as I’ve always run things on Debian where I just use the sudo  
> apt-get install command to get ruby and ruby gems on there. Do any of  
> you know of resources to get Ruby on Red Hat? I googled, but nothing  
> came up. Is it just me or shouldn’t this be obvious?

There are Ruby RPM’s for most versions of Redhat - someone pointed you  
a repository, so I won’t go there further.

However, depending on what repositories have already been added to  
your  
VPS, try this first:

up2date -i ruby

If that doesn’t work (doesn’t find a package), try:

yum install ruby

Note that you can install and use apt-get on Redhat too if you like:  
[http://dag.wieers.com/rpm/packages/apt/](http://dag.wieers.com/rpm/packages/apt/)

---

<div class="post-metadata">

**Author:** ![StecklyS\_Ron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dfb087/32.png) [@StecklyS\_Ron](https://www.ruby-forum.com/u/StecklyS_Ron)\
**Post date:** [January 28, 2008, 3:42pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-red-hat-enterprise-edition-on-a-terminal/127168/6 "2008-01-28T15:42:24Z")

</div>

On Jan 28, 2008 7:09 AM, Vidar H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> There are Ruby RPM’s for most versions of Redhat - someone pointed you  
> a repository, so I won’t go there further.

Actually there really aren’t modern ruby rpms for most RedHat  
versions. Going back to RHEL 4 isn’t really “most” 😉 The shop I’m  
working at doesn’t like to upgrade old installs if they’re working  
well, so we’ve got several RHEL 2.1 boxes still.

Anyway, if anyone needs a modern ruby rpm (1.8.6 stable snapshot) for  
rather older RHEL installs, like 2.1AS, I made one, and it’s doing  
pretty well on some production systems (running scripts and such, not  
ruby itself running the production software on these boxes).

–Kyle
