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

Last updated: May 17,2024

1. Install "clang-15" package

This tutorial shows how to install clang-15 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install clang-15

2. Uninstall "clang-15" package

Learn how to uninstall clang-15 on Debian 12 (Bookworm):

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

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

Package: clang-15
Source: llvm-toolchain-15 (1:15.0.6-4)
Version: 1:15.0.6-4+b1
Installed-Size: 360
Maintainer: LLVM Packaging Team
Architecture: amd64
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.34), libclang-cpp15 (>= 1:15.0.6), libgcc-s1 (>= 3.0), libllvm15, libstdc++6 (>= 11), libstdc++-12-dev, libgcc-12-dev, libobjc-12-dev, libclang-common-15-dev (= 1:15.0.6-4+b1), llvm-15-linker-tools (= 1:15.0.6-4+b1), libclang1-15 (= 1:15.0.6-4+b1), libc6-dev, binutils
Recommends: llvm-15-dev, python3
Suggests: clang-15-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-15/clang-15_15.0.6-4+b1_amd64.deb
Size: 105496
MD5sum: e8f1eb9b99112d4800bf489c9c5e1bbc
SHA256: 47b3e2ddebf285a5363c3b5b1cded9a0f84ba1c054224f8026aef1ca7f66b582