How to install shc on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Shell script compiler
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | — | — | — | |
| RHEL 9 | — | — | — | |
| RHEL 8 | — | — | — | |
| RHEL 7 | — | — | — | |
| RHEL 6 | — | — | ✓ | 4.0.3 |
Description
SHC is a generic shell script compiler. It takes a script, which is specified on the command line and produces C source code. The generated source code is then compiled and linked to produce a s- tripped binary.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
shc on CentOS / RHEL 6
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install shc
Package downloads require an active GetPageSpeed subscription — one repository for shc and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install shc on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the shc package with your system package manager.
Which Enterprise Linux versions is shc available for?
shc is available for RHEL 6.