I would suggest you to follow below mentioned steps, which have been referred from here.
Step 1. Install a package with repository for your system:
On CentOS, install package centos-release-scl available in CentOS repository:
sudo yum -y install centos-release-scl
On RHEL, enable RHSCL repository for you system:
sudo yum-config-manager --enable rhel-server-rhscl-7-rpms
Step 2. Install the collection:
sudo yum -y install devtoolset-7
Step 3. Start using software collections:
scl enable devtoolset-7 bash
Answer from Srijan Chaudhary on Stack ExchangeI asked this in the CentOS forums 2 weeks ago, but no responses. So now off to reddit
On CentOS Stream 8.3 -- I am trying to use gdb on a core dump but I am getting this message:
Missing separate debuginfos, use: yum debuginfo-install glibc-2.28-127.el8.x86_64
When it try yum (or dnf) I get this error:
Could not find debugsource package for the following installed packages: glibc-2.28-127.el8.x86_64
Is there another repo I need ?
Thanks