How to Install and Uninstall clang Package on Debian 10 (Buster)

Last updated: May 06,2024

1. Install "clang" package

Please follow the guidelines below to install clang on Debian 10 (Buster)

$ sudo apt update $ sudo apt install clang

2. Uninstall "clang" package

Please follow the instructions below to uninstall clang on Debian 10 (Buster):

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

3. Information about the clang package on Debian 10 (Buster)

Package: clang
Source: llvm-defaults (0.47)
Version: 1:7.0-47
Installed-Size: 23
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-7 (>= 7~)
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)
Description-md5: 417b47912f4072aafff4541922523a39
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_7.0-47_amd64.deb
Size: 7468
MD5sum: 784567c462a5b9f4ff5c101dd7e886b9
SHA256: 8c22b005de096b5b955e273b4e9ea578bc12c57098fba77eb5b6608753b16e5d