How to Install and Uninstall clang-12 Package on Kali Linux

Last updated: March 29,2024

1. Install "clang-12" package

Please follow the instructions below to install clang-12 on Kali Linux

$ sudo apt update $ sudo apt install clang-12

2. Uninstall "clang-12" package

This tutorial shows how to uninstall clang-12 on Kali Linux:

$ sudo apt remove clang-12 $ sudo apt autoclean && sudo apt autoremove

3. Information about the clang-12 package on Kali Linux

Package: clang-12
Source: llvm-toolchain-12 (1:12.0.1-20)
Version: 1:12.0.1-20+b1
Installed-Size: 352
Maintainer: LLVM Packaging Team
Architecture: amd64
Replaces: llvm-12-dev (<< 1:12.0.0-2)
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.32), libclang-cpp12 (>= 1:12.0.1), libgcc-s1 (>= 3.0), libllvm12, libstdc++6 (>= 11), libstdc++-11-dev, libgcc-11-dev, libobjc-11-dev, libclang-common-12-dev (= 1:12.0.1-20+b1), llvm-12-linker-tools (= 1:12.0.1-20+b1), libclang1-12 (= 1:12.0.1-20+b1), libc6-dev, binutils
Recommends: llvm-12-dev, python3
Suggests: clang-12-doc
Breaks: llvm-12-dev (<< 1:12.0.0-2)
Size: 117980
SHA256: 57b3a09978fbe5cf4f2ca4f4fc19ea73b35bd40425cd6273407eaebe99623db1
SHA1: dcb89e71718a73c10281866abd27d37bb7a2f810
MD5sum: ad064ddae8e5e22b9b59d5cf3e367d7e
Description: C, C++ and Objective-C compiler
Clang project is a C, C++, Objective C and Objective C++ front-end
based on the LLVM compiler. Its goal is to offer a replacement to the
GNU Compiler Collection (GCC).
.
Clang implements all of the ISO C++ 1998, 11, 14 and 17 standards and also
provides most of the support of C++20.
Description-md5: c364160e44345420df0f2e97b3082b69
Homepage: https://www.llvm.org/
Section: devel
Priority: optional
Filename: pool/main/l/llvm-toolchain-12/clang-12_12.0.1-20+b1_amd64.deb