How to Install and Uninstall clang-9 Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 05,2024

1. Install "clang-9" package

This is a short guide on how to install clang-9 on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install clang-9

2. Uninstall "clang-9" package

Learn how to uninstall clang-9 on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the clang-9 package on Ubuntu 20.10 (Groovy Gorilla)

Package: clang-9
Architecture: amd64
Version: 1:9.0.1-14build1
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: 3682
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang-cpp9 (= 1:9.0.1-14build1), 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-14build1), libc6-dev, binutils
Recommends: llvm-9-dev, python3, libomp-9-dev
Suggests: clang-9-doc
Filename: pool/universe/l/llvm-toolchain-9/clang-9_9.0.1-14build1_amd64.deb
Size: 1121868
MD5sum: 9b3feee19494d0730739cef06b5bf24a
SHA1: 1f0efc5fb75febeafc25411ceebf88726f4cfdfa
SHA256: 91211f50264648cd13575af45860b18984b7012d945ec7071f0826515f28c421
SHA512: e02be020e0f4296d8ec3462bae70eddaf255fd28fafed7885a2e6a7eda4318b3502e3aaff906898b14f1f8477050b39e18efd52b86d89402d47af9aae394a72d
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