How to Install and Uninstall clang-12 Package on Linux Mint 21 (Vanessa)

Last updated: March 29,2024

1. Install "clang-12" package

Please follow the guidance below to install clang-12 on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install clang-12

2. Uninstall "clang-12" package

Please follow the guidelines below to uninstall clang-12 on Linux Mint 21 (Vanessa):

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

3. Information about the clang-12 package on Linux Mint 21 (Vanessa)

Package: clang-12
Architecture: amd64
Version: 1:12.0.1-19ubuntu3
Priority: optional
Section: universe/devel
Source: llvm-toolchain-12
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 351
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.34), 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-19ubuntu3), llvm-12-linker-tools (= 1:12.0.1-19ubuntu3), libclang1-12 (= 1:12.0.1-19ubuntu3), libc6-dev, binutils
Recommends: llvm-12-dev, python3
Suggests: clang-12-doc
Breaks: llvm-12-dev (<< 1:12.0.0-2)
Replaces: llvm-12-dev (<< 1:12.0.0-2)
Filename: pool/universe/l/llvm-toolchain-12/clang-12_12.0.1-19ubuntu3_amd64.deb
Size: 77704
MD5sum: 356fb463c7e99e5bf48860e6116ee34c
SHA1: 15ada7a79d5633b8c7ddc14eb3cc2252c73aa5da
SHA256: d24a5c5908d141669e886369f54b1c59c611b47ff035aec5434818151980274a
SHA512: 6ae420189300954aab5ab478c1743bf43c40875e936d5eaf935336c6d48babf846ed862ea8f02d9e5d5bd4dd64652fce4fe2e411c020a347c0ca7d6c31d9dc6f
Homepage: https://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: c364160e44345420df0f2e97b3082b69