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

Last updated: November 25,2024

1. Install "clang-17" package

Please follow the guidelines below to install clang-17 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install clang-17

2. Uninstall "clang-17" package

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

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

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

Package: clang-17
Architecture: amd64
Version: 1:17.0.6-5build1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-17
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 370
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.34), libclang-cpp17 (>= 1:17.0.6), libgcc-s1 (>= 3.0), libllvm17 (= 1:17.0.6-5build1), libstdc++6 (>= 11), libstdc++-13-dev, libgcc-13-dev, libobjc-13-dev, libclang-common-17-dev (= 1:17.0.6-5build1), llvm-17-linker-tools (= 1:17.0.6-5build1), libclang1-17 (= 1:17.0.6-5build1), libc6-dev, binutils
Recommends: llvm-17-dev, python3
Suggests: clang-17-doc, wasi-libc
Filename: pool/universe/l/llvm-toolchain-17/clang-17_17.0.6-5build1_amd64.deb
Size: 78626
MD5sum: aec9fefcfb05f8ca5e1fdb7fcc55c3bb
SHA1: 6b155fd7c11829b32055dad780e50860194d8fae
SHA256: dc98d05e9bb89bde72e59be1803ccc00e1c00614a7fba2553f3213df209624a2
SHA512: b7141ba70a83c4578eea15a38f5ed3e0ae10093603e2815338643567cf302c59b6070b56fb93ec490ec31cdf1e1abb06427c484be4777bf594891f183da60c81
Homepage: https://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: c364160e44345420df0f2e97b3082b69