How to install shc on Amazon Linux
Shell script compiler
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | — | — | — | |
| Amazon Linux 2012.03 | — | — | ✓ | 4.0.3 |
| Amazon Linux 2 | — | — | — |
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 Amazon Linux.
Install
shc on Amazon Linux 2012.03
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install shc
Package downloads require an active GetPageSpeed subscription — one repository for shc and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install shc on Amazon Linux?
Add the GetPageSpeed repository, then install the shc package with your system package manager.
Which Amazon Linux versions is shc available for?
shc is available for Amazon Linux 2012.03.