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

Last updated: May 10,2024

1. Install "clang-7" package

Please follow the step by step instructions below to install clang-7 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install clang-7

2. Uninstall "clang-7" package

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

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

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

Package: clang-7
Source: llvm-toolchain-7
Version: 1:7.0.1-8+deb10u2
Installed-Size: 30695
Maintainer: LLVM Packaging Team
Architecture: amd64
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libllvm7 (>= 1:7~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-8-dev, libgcc-8-dev, libobjc-8-dev, libclang-common-7-dev (= 1:7.0.1-8+deb10u2), libclang1-7 (= 1:7.0.1-8+deb10u2), libc6-dev, binutils
Recommends: llvm-7-dev, python, libomp-7-dev
Suggests: clang-7-doc
Description: C, C++ and Objective-C compiler
Description-md5: 224e1c81284b37e6720b78f6cf56d36b
Homepage: https://www.llvm.org/
Section: devel
Priority: optional
Filename: pool/main/l/llvm-toolchain-7/clang-7_7.0.1-8+deb10u2_amd64.deb
Size: 7891272
MD5sum: db778856cf205b08b1f94be342472c5b
SHA256: 8d988dde04e2d9286f37c82081e50659dd2f6ccdad68fefab43ed468c1c78d01