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

Last updated: May 05,2024

1. Install "clang-13" package

Please follow the steps below to install clang-13 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install clang-13

2. Uninstall "clang-13" package

Please follow the instructions below to uninstall clang-13 on Debian 12 (Bookworm):

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

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

Package: clang-13
Source: llvm-toolchain-13 (1:13.0.1-11)
Version: 1:13.0.1-11+b2
Installed-Size: 341
Maintainer: LLVM Packaging Team
Architecture: amd64
Replaces: llvm-13-dev (<< 1:13~++20210129063721)
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.34), libclang-cpp13 (>= 1:13.0.1), libgcc-s1 (>= 3.0), libllvm13, libstdc++6 (>= 11), libstdc++-12-dev, libgcc-12-dev, libobjc-12-dev, libclang-common-13-dev (= 1:13.0.1-11+b2), llvm-13-linker-tools (= 1:13.0.1-11+b2), libclang1-13 (= 1:13.0.1-11+b2), libc6-dev, binutils
Recommends: llvm-13-dev, python3
Suggests: clang-13-doc
Breaks: llvm-13-dev (<< 1:13~++20210129063721)
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-13/clang-13_13.0.1-11+b2_amd64.deb
Size: 96432
MD5sum: b8717f102a24d765ea7f379bf5e7daa5
SHA256: 1e722f97e5c0faae0250b6d49f9f4ab24cefe6172cc404b164e6219c451bf0f2