How to Install and Uninstall clang-16 Package on Debian 12 (Bookworm)

Last updated: May 19,2024

1. Install "clang-16" package

Please follow the instructions below to install clang-16 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install clang-16

2. Uninstall "clang-16" package

In this section, we are going to explain the necessary steps to uninstall clang-16 on Debian 12 (Bookworm):

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

3. Information about the clang-16 package on Debian 12 (Bookworm)

Package: clang-16
Source: llvm-toolchain-16
Version: 1:16.0.6-15~deb12u1
Installed-Size: 371
Maintainer: LLVM Packaging Team
Architecture: amd64
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.34), libclang-cpp16 (>= 1:16.0.6), libgcc-s1 (>= 3.0), libllvm16, libstdc++6 (>= 11), libstdc++-12-dev, libgcc-12-dev, libobjc-12-dev, libclang-common-16-dev (= 1:16.0.6-15~deb12u1), llvm-16-linker-tools (= 1:16.0.6-15~deb12u1), libclang1-16 (= 1:16.0.6-15~deb12u1), libc6-dev, binutils
Recommends: llvm-16-dev, python3
Suggests: clang-16-doc, wasi-libc
Description: C, C++ and Objective-C compiler
Description-md5: c364160e44345420df0f2e97b3082b69
Homepage: https://www.llvm.org/
Section: devel
Priority: optional
Filename: pool/main/l/llvm-toolchain-16/clang-16_16.0.6-15~deb12u1_amd64.deb
Size: 109884
MD5sum: 4f1dc29e7602f265a376103f6ee46a40
SHA256: 2023dc8dc3f69224bf336c95726dbf5e466218ecf2a6507dd583deaf46b2f004