all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: shc  ]

Package: shc (4.0.3-1 and others)

Links for shc


Debian Resources:

Download Source Package shc:


External Resources:

Similar packages:

Shell script compiler

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 stripped binary.

The compiled binary will still be dependent on the shell specified in the first line of the shell code, thus shc does not create completely independent binaries.

shc itself is not a compiler such as cc, it rather encodes and encrypts a shell script and generates C source code with the added expiration capability. It then uses the system compiler to compile a stripped binary which behaves exactly like the original script. Upon execution, the compiled binary will decrypt and execute the code with the shells' -c option.

Other Packages Related to shc

  • depends
  • recommends
  • suggests
  • enhances

Download shc

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 4.0.3-1 25.5 kB85.0 kB [list of files]
amd64 4.0.3-1 25.1 kB85.0 kB [list of files]
arm64 4.0.3-1 24.5 kB77.0 kB [list of files]
armel 4.0.3-1 24.7 kB64.0 kB [list of files]
armhf 4.0.3-1 23.3 kB60.0 kB [list of files]
hppa (unofficial port) 4.0.3-1 23.3 kB57.0 kB [list of files]
i386 4.0.3-1 24.0 kB68.0 kB [list of files]
ia64 (unofficial port) 4.0.3-1 27.5 kB94.0 kB [list of files]
m68k (unofficial port) 4.0.3-1 23.8 kB68.0 kB [list of files]
mips64el 4.0.3-1 23.8 kB78.0 kB [list of files]
ppc64 (unofficial port) 4.0.3-1 25.6 kB85.0 kB [list of files]
ppc64el 4.0.3-1 25.8 kB85.0 kB [list of files]
riscv64 4.0.3-1+b1 23.7 kB78.0 kB [list of files]
s390x 4.0.3-1 24.4 kB77.0 kB [list of files]
sh4 (unofficial port) 4.0.3-1 26.3 kB64.0 kB [list of files]
sparc64 (unofficial port) 4.0.3-1 23.7 kB86.0 kB [list of files]
x32 (unofficial port) 4.0.3-1 25.1 kB68.0 kB [list of files]