Probably you have a mess with env paths. Check files .bashrc or .bash_profile and remove old version path.

Last chance is to use direct/explicitly:

 source /opt/rh/devtoolset-7/enable
Answer from Nikola Lukic on Stack Overflow
🌐
Stack Exchange
unix.stackexchange.com › questions › 278061 › how-can-i-enable-centos-release-scl-on-centos-6-7
python - How can I enable centos-release-SCL on Centos 6.7? - Unix & Linux Stack Exchange
sudo yum --disablerepo=\* --enablerepo=extras install centos-release-SCL Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile * extras: anorien.csc.warwick.ac.uk No package centos-release-SCL available.
🌐
GitHub
github.com › sclorg › centos-release-scl
GitHub - sclorg/centos-release-scl: yum Configs and basic docs for Software Collections as delivered via the CentOS SCLo SIG. · GitHub
DEPRECATED Please, mind that CentOS 7 is out of support already, so it's possible that even this repository will not get needed updates. Users of this repos are advised to not depend on the content here, as it can be removed anytime. On CentOS, there are packages centos-release-scl and centos-release-scl-rh available in centos-extra repository, so for installing SCLo reposo on CentOS, run:
Starred by 70 users
Forked by 15 users
Languages   Shell
Discussions

Installing centos-release-scl
Hey, I want to migrate from centos-7 to Rocky Linux. I was using centos-release-scl-rh with older centos version. But while building with rockylinux this package was not found. Can someone please share any alternative on how i can get this dependency or what i can do here? More on forums.rockylinux.org
🌐 forums.rockylinux.org
0
0
January 25, 2023
install gcc successful, but can't enable - Stack Overflow
I follow the tutorial install GCC in centos7, install success, but can't enable. here is the commands. sudo yum group install "Development Tools" sudo yum install centos-release-scl sud... More on stackoverflow.com
🌐 stackoverflow.com
yum install centos-release-scl-rh failing
yum -y install centos-release-scl-rh Loaded plugins: fastestmirror, ovl Loading mirror speeds from cached hostfile No package centos-release-scl-rh available. More on github.com
🌐 github.com
6
March 27, 2021
Problem with missing yum package CentOS (Virtualmin) - Unix & Linux Stack Exchange
You could try to rebuild the rh-php71 ... I have not found any information that anyone has tried to do that. You can find information about available software collections from their website or from the configured YUM repository ... I see. So the best way is to cat /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo | grep http, follow link and broswe available packages, ... More on unix.stackexchange.com
🌐 unix.stackexchange.com
🌐
GitHub
github.com › sclorg › centos-release-scl › blob › master › README.md
centos-release-scl/README.md at master · sclorg/centos-release-scl
DEPRECATED Please, mind that CentOS 7 is out of support already, so it's possible that even this repository will not get needed updates. Users of this repos are advised to not depend on the content here, as it can be removed anytime. On CentOS, there are packages centos-release-scl and centos-release-scl-rh available in centos-extra repository, so for installing SCLo reposo on CentOS, run:
Author   sclorg
🌐
Rocky Linux Forum
forums.rockylinux.org › rocky linux help & support
Installing centos-release-scl - Rocky Linux Help & Support - Rocky Linux Forum
January 25, 2023 - Hey, I want to migrate from centos-7 to Rocky Linux. I was using centos-release-scl-rh with older centos version. But while building with rockylinux this package was not found. Can someone please share any alternative o…
🌐
Pvpgn
forums.pvpgn.pro › viewtopic.php
[Solved] Error: Unable to find a match: centos-release-scl (CentOS 8) (Page 1) — [EN] Tech Support — forums.pvpgn.pro
Do not ask for support in PM. ... This worked! The only thing that was different was the mysql items (dnf install mysql-devel worked without the suffix .x86_64) Thank you so much!!! ... Lua 5.1 is required for pvpgn, but there is only version 5.3 in CentOS 8 (remove it first).
🌐
Theforeman
projects.theforeman.org › issues › 7899
Bug #7899: CentOS: foreman seems to depend on centos-release-SCL, not the packages it actually needs - Foreman
centos-release-SCL does not currently exist for CentOS (and will likely not exist for the foreseeable future) - the individual packages that foreman needs are available from http://projects.theforeman.org/projects/foreman/issues/new
🌐
GitHub
github.com › nealef › clefos › issues › 7
yum install centos-release-scl-rh failing · Issue #7 · nealef/clefos
March 27, 2021 - yum -y install centos-release-scl-rh Loaded plugins: fastestmirror, ovl Loading mirror speeds from cached hostfile No package centos-release-scl-rh available.
Author   nealef
Find elsewhere
🌐
Red Hat
bugzilla.redhat.com › show_bug.cgi
1550377 – centos-release-scl-rh doesn't work well for aarch64 right now
Red Hat Bugzilla – Bug 1550377 · This site requires JavaScript to be enabled to function correctly, please enable it · Privacy Contact FAQ Legal
🌐
RPMfind
rpmfind.net › linux › rpm2html › search.php
RPM resource centos-release-SCL
The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet...
🌐
RPMfind
rpmfind.net › linux › rpm2html › search.php
RPM resource centos-release-scl-rh
The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet · The System and Arch are optional added filters, for example ...
🌐
Linuxcnf
linuxcnf.com › 2019 › 09 › how-to-enable-software-collections-scl.html
The Linux Guide: How to Enable Software Collections (SCL) yum repository on CentOS 7
Now the SCL repository is enabled using yum command. Method 2. Download RPM package and its dependency from CentOS official site and install using rpm command. The RPM package configures SCL repository. Step 1. Package downloading: Run the following command to download SCL rpm package and its dependency from CentOS official site:
🌐
Softwarecollections
softwarecollections.org › en › scls › rhscl › devtoolset-8
Developer Toolset 8 — Software Collections
# 1. Install a package with repository for your system: # On CentOS, install package centos-release-scl available in CentOS repository: $ sudo yum install centos-release-scl # On RHEL, enable RHSCL repository for you system: $ sudo yum-config-manager --enable rhel-server-rhscl-7-rpms # 2. Install ...
🌐
CentOS Repositories
centos.pkgs.org › 7 › centos-extras-x86_64 › centos-release-scl-rh-2-2.el7.centos.noarch.rpm.html
centos-release-scl-rh-2-2.el7.centos.noarch.rpm CentOS 7 Download
Install centos-release-scl-rh rpm package: # yum install centos-release-scl-rh · 2016-05-20 - Dominic Cleal <dominic@cleal.org> - 2-2 - replace releasever with hardcoded versions · 2016-03-24 - Thomas Oulevey <thomas.oulevey@cern.ch> - 2-1 - disabled gpg check for -testing repos - enabled sources repositories - enabled debuginfo repositories ·
🌐
Server Fault
serverfault.com › questions › 1140417 › centos-7-scl-software-collections-abandoned
centos7 - CentOS 7 SCL (Software Collections) abandoned? - Server Fault
yum install centos-release-scl centos-release-scl-rh yum install httpd24-httpd rpm -q --changelog httpd24-httpd | head -3 # * Tue Sep 20 2022 Luboš Uhliarik <[email protected]> - 2.4.34-23.5 # - Related: #2035029 - CVE-2021-44224 httpd24-httpd: httpd: possible NULL # dereference or SSRF in forward proxy configurations