This error message is usually caused when you do not have scl-utils installed.
Try doing
yum install scl-utils
Answer from nikoo28 on Stack OverflowRed Hat
docs.redhat.com › en › documentation › red_hat_software_collections › 3 › html › packaging_guide › sect-enabling_support_for_software_collections
1.3. Enabling Support for Software Collections | Packaging Guide | Red Hat Software Collections | 3 | Red Hat Documentation
January 24, 2023 - If the packages scl-utils and scl-utils-build are not already installed on your system, you can install them by typing the following at a shell prompt as root:
Red Hat
docs.redhat.com › en › documentation › red_hat_software_collections › 3 › html › packaging_guide › sect-scl_command_does_not_exist
5.2. scl command does not exist | Packaging Guide | Red Hat Software Collections | 3 | Red Hat Documentation
This error message is usually caused by a missing package scl-utils.
GitHub
gist.github.com › dasgoll › 42cc52cbac6fc6f5bdec
How to enable Software Collections (SCL) on Amazon/RHEL/CentOS · GitHub
March 27, 2019 - It's been a white, could you look into "Amazon Linux extras repository"? From here: Q. How do I install a software package from Amazon Linux extras repository? [https://aws.amazon.com/amazon-linux-2/faqs/] Copy link · scl-utils, and I'm not using amazon linux 2, I'm using amazon linux 1.
Red Hat
access.redhat.com › documentation › en-us › red_hat_software_collections › 1 › html › packaging_guide › sect-scl_command_does_not_exist
5.2. scl command does not exist | Packaging Guide | Red Hat Software Collections | 1 | Red Hat Documentation
This error message is usually caused by a missing package scl-utils.
Fedora Documentation
jfearn.fedorapeople.org › fdocs › en-US › Fedora_Contributor_Documentation › 1 › html › Software_Collections_Guide › sect-Enabling_Support_for_Software_Collections.html
1.3. Enabling Support for Software Collections
If the packages scl-utils and scl-utils-build are not already installed on your system, you can install them by typing the following at a shell prompt as root:
Top answer 1 of 2
6
Although the @amzn-main repo doesn't have PHP 7.2 yet (as far as I know), you can use remi-php72. According to his release blog you can install the EPEL and Remi repositories via:
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6.rpm
rpm -Uvh epel-release-latest-6.noarch.rpm
And then enable remi-php72 using yum-config-manager:
yum install yum-utils
yum-config-manager --enable remi-php72
After that, you can simply search and install php and all the needed extensions like normal:
sudo yum install --disablerepo="*" --enablerepo="remi,remi-php72" php php-fpm php-cli ...
2 of 2
6
As @Typel says in a comment on the other answer - if you're using Amazon Linux 2 AMI then
sudo amazon-linux-extras install -y php7.2
Beats installing multiple external repos and has most of th basics, including mariadb and vim (everything I need to feel happy!).
See the list: sudo amazon-linux-extras list
Xmodulo
xmodulo.com › enable-software-collections-centos.html
How to enable Software Collections (SCL) on CentOS
September 23, 2020 - A nice thing about the SCL is that installing a package from the SCL does NOT overwrite any system files, and is guaranteed to not cause any conflicts with other system libraries and applications. For example, if you check the default python version after installing python33, you will see that the default version is still the same: ... If you want to try an installed SCL package, you need to explicitly enable it on a per-command basis using scl:
CentOS Repositories
centos.pkgs.org › 7 › centos-x86_64 › scl-utils-build-20130529-19.el7.x86_64.rpm.html
scl-utils-build-20130529-19.el7.x86_64.rpm CentOS 7 Download
May 29, 2013 - 2015-01-05 - Jan Zeleny <jzeleny@redhat.com> - 20132529-13 - after a thorough discussion with scl maintainers, revert the vendor prefix in package names
Oracle
docs.oracle.com › cd › F61410_01 › scl-user › OL-SCL-USER.pdf pdf
Oracle Linux Software Collection Library for Oracle Linux 7 E59096-28
The scl-utils package, which provides the Software Collection Library scl utility, is available ... Install the scl-utils package. ... You can now install and use software collection packages on the system.
GitHub
github.com › benycze › centos-p4-scl
GitHub - benycze/centos-p4-scl: SCL Environment for the translation of P4 related projects · GitHub
In Centos 7, these packages are available in centos-release-scl-rh or centos-release-scl. So, you need to additionally install these packages: ... yum install scl-utils scl-utils-build rpm-build devtoolset-9 wget binutils cmake3 git autoconf automake libtool python-pip libatomic_ops-devel bison flex openssl-devel boost169-devel boost-devel-static python2-devel python3-devel python2-pip python3-pip python-cffi python36-cffi
Author benycze
RPMfind
rpmfind.net › linux › rpm2html › search.php
RPM resource scl-utils-build
It does not support multiple arguments yet... The System and Arch are optional added filters, for example System could be "redhat", "redhat-7.2", "mandrake" or "gnome", Arch could be "i386" or "src", etc. depending on your system. Essential RPM build macros for alternative packaging. https://github.com/sclorg/scl-utils ·
Red Hat
docs.redhat.com › en › documentation › red_hat_software_collections › 1 › html › packaging_guide › sect-scl_source_command_not_found
5.4. scl_source: command not found | Packaging Guide | Red Hat Software Collections | 1 | Red Hat Documentation
This error message is usually caused by having an old version of the scl-utils package installed.
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
It is reliable, community edition and provides useful software packages that are not included in the official CentOS 7 default repositories. This article describes enabling Software Collection (SCL) on CentOS 7. It can be installed by below two methods. Method 1. The package to enable Software Collection SCL is available in CentOS 7 repository and it can be installed by yum command.
Red Hat
access.redhat.com › documentation › en-us › red_hat_software_collections › 3 › html-single › packaging_guide › index
Packaging Guide | Red Hat Software Collections | 3 | Red Hat Documentation
April 6, 2018 - That way you can ensure that the packages are installed with the Software Collection metapackage. You are advised to add Requires: scl-utils-build to the build subpackage. You are not required to use conditionals for Software Collection-specific macros in the metapackage.
GitHub
gist.github.com › mhart › 841afde086604e7b4a86fa140480c84d
Get SCL (and GCC 7) working on Amazon Linux 2017.03 · GitHub
error: centos-release-scl-7-3.el6.centos.noarch.rpm: not an rpm package (or package manifest): error: centos-release-scl-rh-2-3.el6.centos.noarch.rpm: not an rpm package (or package manifest): Copy link · In my case this worked: curl -O http://mirror.centos.org/centos/7/os/x86_64/Packages/scl-utils-20130529-19.el7.x86_64.rpm curl -O http://mirror.centos.org/centos/7/os/x86_64/Packages/scl-utils-build-20130529-19.el7.x86_64.rpm curl -O http://mirror.centos.org/centos/7/extras/x86_64/Packages/centos-release-scl-rh-2-3.el7.centos.noarch.rpm curl -O http://mirror.centos.org/centos/7/extras/x86_64/Packages/centos-release-scl-2-3.el7.centos.noarch.rpm ·
Red Hat
docs.redhat.com › en › documentation › red_hat_enterprise_linux › 5 › html › 5.11_technical_notes › scl-utils
3.81. scl-utils | Red Hat Product Documentation
Users of scl-utils are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.
Linuxcnf
linuxcnf.com › 2018 › 11 › how-to-enable-scl-repository-in-cent-os.html
How to enable SCL Repository in Cent OS 7 - The Linux Guide
November 10, 2018 - The Software Collections (SCL) repository is created to provide safely installation on Cent OS and RHEL and also provide installation of multiple software versions on the same machine. The SCL is available yum default repository on Cent OS 6.5 and later. Set up SCL Repository: The SCL is available on CentOS 6.5 and later.