How to Install and Uninstall clang-11 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 07,2024

1. Install "clang-11" package

This guide covers the steps necessary to install clang-11 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install clang-11

2. Uninstall "clang-11" package

This tutorial shows how to uninstall clang-11 on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the clang-11 package on Ubuntu 21.04 (Hirsute Hippo)

Package: clang-11
Architecture: amd64
Version: 1:11.0.1-2ubuntu4
Priority: optional
Section: universe/devel
Source: llvm-toolchain-11
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 332
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang-cpp11 (>= 1:11.0.1), libgcc-s1 (>= 3.0), libllvm11 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-10-dev, libgcc-10-dev, libobjc-10-dev, libclang-common-11-dev (= 1:11.0.1-2ubuntu4), llvm-11-linker-tools (= 1:11.0.1-2ubuntu4), libclang1-11 (= 1:11.0.1-2ubuntu4), libc6-dev, binutils
Recommends: llvm-11-dev, python3, libomp-11-dev
Suggests: clang-11-doc
Filename: pool/universe/l/llvm-toolchain-11/clang-11_11.0.1-2ubuntu4_amd64.deb
Size: 68900
MD5sum: cdcaab72e351611e631c36d4625fea4c
SHA1: 621530f4d78bbdfbacbd55f32fca3e17cd3d286c
SHA256: a90d6ef7db1ad72fb66b2ebb16d590414e605aade1e18ad66ba83f0b9a2bee83
SHA512: c5e437ca03fdadcf8737e35b4b4cabd03b118da17839fb823ba79498002d0b3e8e390281fdaaa2b3dda2e1adeb29c2a42fb06c84591f42a86ad7f89bb6c6556c
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, 14 and 17 standards and also
provides most of the support of C++20.
Description-md5: c364160e44345420df0f2e97b3082b69