How to Install and Uninstall clang Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 05,2024

1. Install "clang" package

Please follow the instructions below to install clang on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install clang

2. Uninstall "clang" package

Please follow the step by step instructions below to uninstall clang on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the clang package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: clang
Architecture: amd64
Version: 1:3.8-33ubuntu3.1
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.33ubuntu3.1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28
Depends: clang-3.8 (>= 3.8~)
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_3.8-33ubuntu3.1_amd64.deb
Size: 3248
MD5sum: 192971e72789ed78c7360a79948d07be
SHA1: 23e89dfec8cfe64be3a87d9de090e421dbd209e5
SHA256: 751a4ebe40bfa3a6d407ebecba715e902c9cad2154e839d9eb43cb52975e266d
SHA512: fc2d204128b91ba7b7da7130fcffac24f396ff9a882da694033333d132df04c508825214361abfea9b3696e1255d6781483bf0c671fbd742384df55c04e1bd6f
Description-en: C, C++ and Objective-C compiler (LLVM based)
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 and 2001 standards and also provides
a partial support of C++1y.
.
This is a dependency package providing the default clang compiler.
Description-md5: ea1f164ac255f39c6ec78685f71ef19b

Package: clang
Priority: optional
Section: universe/devel
Installed-Size: 28
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Architecture: amd64
Source: llvm-defaults (0.33ubuntu3)
Version: 1:3.8-33ubuntu3
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)
Depends: clang-3.8 (>= 3.8~)
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)
Filename: pool/universe/l/llvm-defaults/clang_3.8-33ubuntu3_amd64.deb
Size: 3210
MD5sum: a2844f2f609e6addfeba5973b9725cd4
SHA1: 5a5f0af1ab4cb2f7fa28e3679d2445ad4eb2517f
SHA256: 3058746e64519bce873e0f63c3d43c600a6c23d4282301a149004efa6d274666
Description-en: C, C++ and Objective-C compiler (LLVM based)
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 and 2001 standards and also provides
a partial support of C++1y.
.
This is a dependency package providing the default clang compiler.
Description-md5: ea1f164ac255f39c6ec78685f71ef19b
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu