How to Install and Uninstall clang Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 05,2024

1. Install "clang" package

Please follow the guidelines below to install clang on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install clang

2. Uninstall "clang" package

Here is a brief guide to show you how to uninstall clang on Ubuntu 21.10 (Impish Indri):

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

3. Information about the clang package on Ubuntu 21.10 (Impish Indri)

Package: clang
Architecture: amd64
Version: 1:13.0-53~exp1
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.53~exp1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 24
Depends: clang-13 (>= 13~)
Breaks: clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Replaces: clang (<< 3.2-1~exp2), clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Filename: pool/universe/l/llvm-defaults/clang_13.0-53~exp1_amd64.deb
Size: 3080
MD5sum: a9d74f072e91f939f517cf8d15636f26
SHA1: 45fbb5e093a28ceb2f935a48bc6061d9a673d996
SHA256: 491340747f685c56a960d096f5210cb1d8682fac14ba2861e07be2c9e4218787
SHA512: e8204565f5a38e9b71e00a5e43bbff36bd765792918fa2a33b5672feeb9e40119f12c8c52905d757c08b29d08c5c1247a831548219ea24e939e53aa988042193
Description-en: C, C++ and Objective-C compiler (LLVM based), clang binary
Clang project is a C, C++, Objective C and Objective C++ front-end
for 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.
.
This is a dependency package providing the default clang compiler.
Description-md5: 2916bca3b5e11836b745c64f4b346b34