# OOD 2.x on RHEL 8.2

**URL:** <https://discourse.openondemand.org/t/ood-2-x-on-rhel-8-2/1914>\
**Category:** Get Help\
**Tags:** ondemand2, question\
**Created:** [February 14, 2022, 11:10am UTC](https://discourse.openondemand.org/t/ood-2-x-on-rhel-8-2/1914 "2022-02-14T11:10:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fenz](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/fenz/32/496_2.png) [@fenz](https://discourse.openondemand.org/u/fenz)\
**Post date:** [February 14, 2022, 11:10am UTC](https://discourse.openondemand.org/t/ood-2-x-on-rhel-8-2/1914/1 "2022-02-14T11:10:38Z")

</div>

Hi!

We are running on REHL 8.2 and wanted to move from OOD 1.8 to OOD 2.x.  
We saw the dependency for ruby:2.7, the problem is that it seems not available in RHEL 8.2 but only starting from version 8.3.  
Are you aware of this? Is there a way to install OOD 2.x without having to upgrade to a RHEL version \> 8.2?

---

<div class="post-metadata">

**Author:** ![gbyrket](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gbyrket/32/894_2.png) [@gbyrket](https://discourse.openondemand.org/u/gbyrket)\
**Post date:** [February 14, 2022, 2:41pm UTC](https://discourse.openondemand.org/t/ood-2-x-on-rhel-8-2/1914/2 "2022-02-14T14:41:13Z")

</div>

> [@fenz](#):
>
> h

Hi Fenz,

Thanks for the information.

I believe you can use rvm and enable ruby 2.7, but let me investigate a little. I’ll get back with you today.

Thanks,  
-gerald

---

<div class="post-metadata">

**Author:** ![gbyrket](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gbyrket/32/894_2.png) [@gbyrket](https://discourse.openondemand.org/u/gbyrket)\
**Post date:** [February 14, 2022, 7:04pm UTC](https://discourse.openondemand.org/t/ood-2-x-on-rhel-8-2/1914/3 "2022-02-14T19:04:03Z")

</div>

Hi Fenz.

Are you allowed to use repos outside of the RHEL Subscription?

I have a rhel 8.2 vm setup and want to abide by the same rules that you are subject to in your organization.

Thanks,  
-gerald.

---

<div class="post-metadata">

**Author:** ![gbyrket](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gbyrket/32/894_2.png) [@gbyrket](https://discourse.openondemand.org/u/gbyrket)\
**Post date:** [February 14, 2022, 9:05pm UTC](https://discourse.openondemand.org/t/ood-2-x-on-rhel-8-2/1914/4 "2022-02-14T21:05:54Z")

</div>

Hi Fenz.

Using the following instructions, i was able to install open ondemand on a RHEL 8.2 server.

[https://osc.github.io/ood-documentation/latest/installation/install-software.html](https://osc.github.io/ood-documentation/latest/installation/install-software.html)

The big things to look at in the document are:

dnf module enable ruby:2.7  
dnf module enable nodejs:12  
sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86\_64-rpms  
sudo yum install [https://yum.osc.edu/ondemand/2.0/ondemand-release-web-2.0-1.noarch.rpm](https://yum.osc.edu/ondemand/2.0/ondemand-release-web-2.0-1.noarch.rpm)  
sudo yum install ondemand

thanks,  
-gerald

---

<div class="post-metadata">

**Author:** ![fenz](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/fenz/32/496_2.png) [@fenz](https://discourse.openondemand.org/u/fenz)\
**Post date:** [February 15, 2022, 12:14am UTC](https://discourse.openondemand.org/t/ood-2-x-on-rhel-8-2/1914/5 "2022-02-15T00:14:02Z")

</div>

Hi Gerald,

thanks for your answer. How are your repo setup?  
That command doesn’t work in our system. I did some tests with some VMs as well to double check, it is true that is worked but if you look at the ruby package:

```auto
$ sudo dnf info ruby
Updating Subscription Management repositories.
Last metadata expiration check: 0:01:05 ago on Tue 15 Feb 2022 00:08:06 UTC.
Available Packages
Name : ruby
Version : 2.7.4
Release : 137.module+el8.4.0+12025+f744ca41
Architecture : x86_64
Size : 89 k
Source : ruby-2.7.4-137.module+el8.4.0+12025+f744ca41.src.rpm
Repository : rhel-8-for-x86_64-appstream-rpms
Summary : An interpreter of object-oriented scripting language
URL : http://ruby-lang.org/
License : (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD
Description : Ruby is the interpreted scripting language for quick and easy
             : object-oriented programming. It has many features to process text
             : files and to do system management tasks (as in Perl). It is simple,
             : straight-forward, and extensible.

```

It takes it from version 8.4. Can you check if it is the same for you?

Thanks for your support!

---

<div class="post-metadata">

**Author:** ![gbyrket](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gbyrket/32/894_2.png) [@gbyrket](https://discourse.openondemand.org/u/gbyrket)\
**Post date:** [February 15, 2022, 2:06pm UTC](https://discourse.openondemand.org/t/ood-2-x-on-rhel-8-2/1914/6 "2022-02-15T14:06:26Z")

</div>

Hi Fenz.

Glad to help.

Yes, mine is pulling from 8.4 as well.

[gbyrket@rhel82 ~]$ sudo dnf info ruby  
Updating Subscription Management repositories.  
Last metadata expiration check: 19:04:01 ago on Mon 14 Feb 2022 01:01:26 PM CST.  
Installed Packages  
Name : ruby  
Version : 2.7.4  
Release : 137.module+el8.4.0+12025+f744ca41  
Architecture : x86\_64  
Size : 88 k  
Source : ruby-2.7.4-137.module+el8.4.0+12025+f744ca41.src.rpm  
Repository : @System  
From repo : rhel-8-for-x86\_64-appstream-rpms  
Summary : An interpreter of object-oriented scripting language  
URL : [http://ruby-lang.org/](http://ruby-lang.org/)  
License : (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD  
Description : Ruby is the interpreted scripting language for quick and easy  
: object-oriented programming. It has many features to process text  
: files and to do system management tasks (as in Perl). It is simple,  
: straight-forward, and extensible.

Available Packages  
Name : ruby  
Version : 2.7.4  
Release : 137.module+el8.4.0+12025+f744ca41  
Architecture : i686  
Size : 89 k  
Source : ruby-2.7.4-137.module+el8.4.0+12025+f744ca41.src.rpm  
Repository : rhel-8-for-x86\_64-appstream-rpms  
Summary : An interpreter of object-oriented scripting language  
URL : [http://ruby-lang.org/](http://ruby-lang.org/)  
License : (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD  
Description : Ruby is the interpreted scripting language for quick and easy  
: object-oriented programming. It has many features to process text  
: files and to do system management tasks (as in Perl). It is simple,  
: straight-forward, and extensible.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [August 14, 2022, 2:06pm UTC](https://discourse.openondemand.org/t/ood-2-x-on-rhel-8-2/1914/7 "2022-08-14T14:06:59Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
