shc

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.

Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

Install

CentOS/RHEL 6
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install shc