How to Install and Uninstall clang Package on Debian 12 (Bookworm)
Last updated: January 11,2025
Notice
You can also install and uninstall the clang on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "clang" package
Please follow the guidelines below to install clang on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
clang
Copied
2. Uninstall "clang" package
Please follow the instructions below to uninstall clang on Debian 12 (Bookworm):
$
sudo apt remove
clang
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the clang package on Debian 12 (Bookworm)
Package: clang
Source: llvm-defaults (0.55.7~deb12u1)
Version: 1:14.0-55.7~deb12u1
Installed-Size: 20
Maintainer: LLVM Packaging Team
Architecture: amd64
Replaces: clang (<< 3.2-1~exp2), clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Depends: clang-14 (>= 14~)
Breaks: clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Description: C, C++ and Objective-C compiler (LLVM based), clang binary
Description-md5: 2916bca3b5e11836b745c64f4b346b34
Tag: devel::compiler, devel::lang:c, devel::lang:c++, devel::lang:objc,
devel::library, implemented-in::c, implemented-in::c++,
interface::commandline, role::devel-lib, role::program,
scope::application, works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/l/llvm-defaults/clang_14.0-55.7~deb12u1_amd64.deb
Size: 5144
MD5sum: 82e5f791ddf47cb647ffb5768bfdebde
SHA256: 7b7924e692b00ae8160c4159c4476929c75ee4a8ed69823e8ba905679f0a5d77
Source: llvm-defaults (0.55.7~deb12u1)
Version: 1:14.0-55.7~deb12u1
Installed-Size: 20
Maintainer: LLVM Packaging Team
Architecture: amd64
Replaces: clang (<< 3.2-1~exp2), clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Depends: clang-14 (>= 14~)
Breaks: clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Description: C, C++ and Objective-C compiler (LLVM based), clang binary
Description-md5: 2916bca3b5e11836b745c64f4b346b34
Tag: devel::compiler, devel::lang:c, devel::lang:c++, devel::lang:objc,
devel::library, implemented-in::c, implemented-in::c++,
interface::commandline, role::devel-lib, role::program,
scope::application, works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/l/llvm-defaults/clang_14.0-55.7~deb12u1_amd64.deb
Size: 5144
MD5sum: 82e5f791ddf47cb647ffb5768bfdebde
SHA256: 7b7924e692b00ae8160c4159c4476929c75ee4a8ed69823e8ba905679f0a5d77