shc - Shell script compiler

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main amd64
Package filename shc_3.9.6-1_amd64.deb
Package name shc
Package version 3.9.6
Package release 1
Package architecture amd64
Package type deb
Category devel
License -
Maintainer Tong Sun <>
Download size 19.31 KB
Installed size 64.00 KB
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.


Package Version Architecture Repository
shc_3.9.6-1_i386.deb 3.9.6 i386 Debian Main
shc - - -


Name Value
libc6 >= 2.7


Type URL
Binary Package shc_3.9.6-1_amd64.deb
Source Package shc

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install shc deb package:
    # sudo apt-get install shc




2018-07-08 - Tong Sun <>
shc (3.9.6-1) unstable; urgency=medium
* Fix for infinite loop (Closes: #861180)
* Fix issue #36 (at
* Fix issue #38 (at
2015-09-16 - Tong Sun <>
shc (3.8.9b-1) unstable; urgency=low
* new upstream release (3.8.9b)
* bump up Standards-Version to 3.9.6
* remove change-Makefile-for-Debian.diff patch
* add change-makefile-for-Debian.diff patch
* drop debian/README.source as the 3.8.9 bug has been fixed
2014-09-07 - Tong Sun <>
shc (3.8.7-2) unstable; urgency=medium
* Fix ptraceable directive so that it can work out of box under Ubuntu
2014-01-14 - Tong Sun <>
shc (3.8.7-1) unstable; urgency=low
* Initial Debian Release (Closes: #735946)

See Also

Package Description
shed_1.15-4_amd64.deb simple hex editor with a pico-style interface
shedskin_0.9.4-1_all.deb Python-to-C++ compiler designed to speed up Python programs
shellcheck_0.5.0-3_amd64.deb lint tool for shell scripts
shelldap_1.4.0-4+deb10u1_all.deb shell-like interface for browsing LDAP servers and editing their content
shellex_0.3-1_amd64.deb shell-based launcher
shellia_5.3.2_all.deb shell interactive library
shellinabox_2.21_amd64.deb publish command line shell through AJAX interface
shelltestrunner_1.9-2_amd64.deb test command-line programs or arbitrary shell commands
shelr_0.16.3-2_all.deb Utility for plain text screencasting
shelxle_1.0.952-1_amd64.deb graphical user interface for SHELXL
shibboleth-sp-common_3.0.4+dfsg1-1_all.deb Federated web single sign-on system (common files)
shibboleth-sp-utils_3.0.4+dfsg1-1_amd64.deb Federated web single sign-on system (daemon and utilities)
shibboleth-sp2-common_3.0.4+dfsg1-1_all.deb transitional package
shibboleth-sp2-utils_3.0.4+dfsg1-1_all.deb transitional package
shiboken-doc_1.2.2-5.1_all.deb CPython bindings generator for C++ libraries documentation