How to install scl on RHEL 7 workstation ?

Latest response

I'm using RHEL 7 (workstation ) for the first time and having a heck of a time installing python3. I found numerous articles on how to do this : (here's one)

https://developers.redhat.com/blog/2018/08/13/install-python3-rhel/

[ partial snippet ]

$ su -

subscription-manager repos --enable rhel-7-server-optional-rpms \

--enable rhel-server-rhscl-7-rpms

yum -y install @development

yum -y install rh-python36

yum -y install rh-python36-numpy \

rh-python36-scipy \
rh-python36-python-tools \
rh-python36-python-six


Since I'm using desktop (not server ) I assume I need to change -server- to desktop.

I can't seem to find equivalent for :
--enable rhel-server-rhscl-7-rpms

This works:

subscription-manager repos --enable rhel-7-desktop-optional-rpms

Repository 'rhel-7-desktop-optional-rpms' is enabled for this system.

This doesn't: (note I'm trying server and desktop )

subscription-manager repos --enable rhel-server-rhscl-7-rpms

Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

subscription-manager repos --enable rhel-desktop-rhscl-7-rpms

Error: 'rhel-desktop-rhscl-7-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

subscription-manager repos --list | grep scl

  < returns nothing >

Could someone help me understand why rhscl is not found in subscription manager?

What is the preferred way to install python3 on RHEL 7 Desktop (workstation) ?

Responses