How to Install and Uninstall clang-16 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 15,2024

1. Install "clang-16" package

Please follow the step by step instructions below to install clang-16 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install clang-16

2. Uninstall "clang-16" package

Please follow the step by step instructions below to uninstall clang-16 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the clang-16 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: clang-16
Architecture: amd64
Version: 1:16.0.6-19build1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-16
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 376
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.34), libclang-cpp16 (>= 1:16.0.6), libgcc-s1 (>= 3.0), libllvm16, libstdc++6 (>= 11), libstdc++-13-dev, libgcc-13-dev, libobjc-13-dev, libclang-common-16-dev (= 1:16.0.6-19build1), llvm-16-linker-tools (= 1:16.0.6-19build1), libclang1-16 (= 1:16.0.6-19build1), libc6-dev, binutils
Recommends: llvm-16-dev, python3
Suggests: clang-16-doc, wasi-libc
Filename: pool/universe/l/llvm-toolchain-16/clang-16_16.0.6-19build1_amd64.deb
Size: 80832
MD5sum: 06ce2067144fe61511a15b7650c357f4
SHA1: 03b0073fc36e5df005546cf9299317784f2755ca
SHA256: ead6bd604e29d823424a9d0d3b428abca58559e2b095b875729bb9875f0330d5
SHA512: 3e5a4cc1006a0161f9a68fa5ea28dcc60b71db5d737cbccaeef0d8a1c2810e41531f28304a65d6e6681d6a4d6e837efdc5127502843fd485d15c642992378fa8
Homepage: https://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: c364160e44345420df0f2e97b3082b69