OOD 2.x on RHEL 8.2

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?

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

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.

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

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
sudo yum install ondemand

thanks,
-gerald

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:

$ 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!

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