How to Install and Uninstall tcc Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "tcc" package

In this section, we are going to explain the necessary steps to install tcc on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install tcc

2. Uninstall "tcc" package

This tutorial shows how to uninstall tcc on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove tcc $ sudo apt autoclean && sudo apt autoremove

3. Information about the tcc package on Ubuntu 21.10 (Impish Indri)

Package: tcc
Architecture: amd64
Version: 0.9.27+git20200814.62c30a4a-1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Thomas Preud'homme
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 805
Provides: c-compiler
Depends: libc6 (>= 2.14)
Recommends: libc6-dev | libc-dev
Filename: pool/universe/t/tcc/tcc_0.9.27+git20200814.62c30a4a-1_amd64.deb
Size: 278228
MD5sum: f78e41118df65306641876e5464063e4
SHA1: 8807bb3bcf8e37e963f855ad468210d935b10bd0
SHA256: 8c8617f69cdbd8a9efb6ff20a1930d577a4348f41c53bbaa02932c2101c8c1f1
SHA512: 9079468540d9d4a646b1e4f37ba1a2ff2e217214db2a7b45697c4daefd52e377573e202289afc50391637f5c9c083a6ef8ab8afd7affcfa597cbd65508752afe
Homepage: http://www.tinycc.org/
Description-en: small ANSI C compiler
TCC (for Tiny C Compiler) is a small and fast ANSI C compiler. It
generates optimized x86 code, and can compile, assemble, and link
several times faster than 'gcc -O0'. Any C dynamic library can be used
directly. It includes an optional memory and bounds checker, and
bounds-checked code can be mixed freely with standard code. C script
is also supported via the usual hash-bang mechanism.
.
NOTE: TCC is still somewhat experimental and is not recommended for
production use. The code it generates is much less optimized than what
GCC produces, and compiler bugs can have serious security consequences
for your program.
Description-md5: dcac8a45b9295c2c42e6540299eec5fe