How to Install and Uninstall shc Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 22,2024

1. Install "shc" package

Here is a brief guide to show you how to install shc on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install shc

2. Uninstall "shc" package

Please follow the steps below to uninstall shc on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove shc $ sudo apt autoclean && sudo apt autoremove

3. Information about the shc package on Ubuntu 20.10 (Groovy Gorilla)

Package: shc
Architecture: amd64
Version: 4.0.3-0.1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Tong Sun
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 82
Depends: libc6 (>= 2.14)
Filename: pool/universe/s/shc/shc_4.0.3-0.1_amd64.deb
Size: 22208
MD5sum: a2bb00c235e1ee136ba1aadbdc634fde
SHA1: 3c82d9d9290ebc48775d914639d2b34426ab14af
SHA256: 93ea5312d70a33715cab97b3b76b87ae5c18a2a4b9a4b3e7e7285e2de3689d40
SHA512: bbda520b6b9189e0d30b0dfef035263aff3c5e09b6d2e6f8c6abeeb8ddb009d251ab9990cc5dee441a8551728bdbe32a6717f59751b152a5bc07285c17df2bb4
Homepage: https://neurobin.org/projects/softwares/unix/shc/
Description-en: 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.
Description-md5: 55ae16afbce7d3b6827372c4e22f870b