How to Install and Uninstall clang-9 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 23,2024

1. Install "clang-9" package

Please follow the instructions below to install clang-9 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install clang-9

2. Uninstall "clang-9" package

Please follow the step by step instructions below to uninstall clang-9 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the clang-9 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: clang-9
Architecture: amd64
Version: 1:9.0.1-16.1ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-9
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3683
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang-cpp9 (= 1:9.0.1-16.1ubuntu1), libgcc-s1 (>= 3.0), libllvm9 (>= 1:9~svn298832-1~), libstdc++6 (>= 9), libstdc++-10-dev, libgcc-10-dev, libobjc-10-dev, libclang-common-9-dev (= 1:9.0.1-16.1ubuntu1), libc6-dev, binutils
Recommends: llvm-9-dev, python3
Suggests: clang-9-doc
Filename: pool/universe/l/llvm-toolchain-9/clang-9_9.0.1-16.1ubuntu1_amd64.deb
Size: 1221914
MD5sum: 0cb858fc9a9fbf22e3157d1cff729184
SHA1: 8be07fb1c48a18c847a108089deb862b56f841f7
SHA256: d33a18f574e981a56d5bea29c44c7763e4d0adc237be0ca6f67b1ee9492de7c2
SHA512: 93cf0f9314a9dad7f38edfee6a04fb0e6a091481e12ac33b79c4df0414e0f4dc144fa1ba5e8477e41f96b63353e2ce909134b54d70d2f1654cdbfbdcdb87477b
Homepage: https://www.llvm.org/
Description-en: C, C++ and Objective-C compiler
Clang project is a C, C++, Objective C and Objective C++ front-end
based on the LLVM compiler. Its goal is to offer a replacement to the
GNU Compiler Collection (GCC).
.
Clang implements all of the ISO C++ 1998, 11 and 14 standards and also
provides most of the support of C++17.
Description-md5: 224e1c81284b37e6720b78f6cf56d36b