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

Last updated: May 10,2024

1. Install "clang-18" package

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

$ sudo apt update $ sudo apt install clang-18

2. Uninstall "clang-18" package

This guide let you learn how to uninstall clang-18 on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: clang-18
Architecture: amd64
Version: 1:18.1.0~rc2-4
Priority: optional
Section: universe/devel
Source: llvm-toolchain-18
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 375
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.34), libclang-cpp18 (>= 1:18.1.0~rc2), libgcc-s1 (>= 3.0), libllvm18 (= 1:18.1.0~rc2-4), libstdc++6 (>= 11), libstdc++-13-dev, libgcc-13-dev, libobjc-13-dev, libclang-common-18-dev (= 1:18.1.0~rc2-4), llvm-18-linker-tools (= 1:18.1.0~rc2-4), libclang1-18 (= 1:18.1.0~rc2-4), libc6-dev, binutils
Recommends: llvm-18-dev, python3
Suggests: clang-18-doc, wasi-libc
Filename: pool/universe/l/llvm-toolchain-18/clang-18_18.1.0~rc2-4_amd64.deb
Size: 80000
MD5sum: 861be65716fa946a4322f9fc2304de94
SHA1: f002e7eab5d4e06f882c44e1f23e18cfa4e16505
SHA256: f8febc19ff81df3e6c440181577519d4df646db9b264893fc8a80f7d91a0d820
SHA512: bc720f2c328da6e44b3697b3c3f8c39bfb57587707a7764214a6f5f9d4cd6834b138387d30883fd541695b4fc886c88136e4d6fbc0c0db807b2cb13cd84f0f6f
Homepage: https://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: c364160e44345420df0f2e97b3082b69