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

Last updated: December 28,2024

1. Install "clang-6.0" package

In this section, we are going to explain the necessary steps to install clang-6.0 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install clang-6.0

2. Uninstall "clang-6.0" package

This tutorial shows how to uninstall clang-6.0 on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: clang-6.0
Architecture: amd64
Version: 1:6.0-1ubuntu2~16.04.1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-6.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30288
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.4), libjsoncpp1, libllvm6.0 (>= 1:6.0~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-5-dev, libgcc-5-dev, libobjc-5-dev, libclang-common-6.0-dev (= 1:6.0-1ubuntu2~16.04.1), libclang1-6.0 (= 1:6.0-1ubuntu2~16.04.1), libc6-dev, binutils
Recommends: llvm-6.0-dev, python, libomp-dev
Suggests: gnustep, gnustep-devel, clang-6.0-doc
Filename: pool/universe/l/llvm-toolchain-6.0/clang-6.0_6.0-1ubuntu2~16.04.1_amd64.deb
Size: 8680058
MD5sum: e408d89199535ba1acf4ecb99288396a
SHA1: 76fb37c39b1c85345bb2b4e1fc62c9a58686d22f
SHA256: af92e65ef231c1f243c1b83442c49da76c326082f5a9bbe85993a945df592d18
SHA512: 4d04dfe36566270e5c6d970738635f12a3a9b0dafa7799ba8a066d6e874695464288f97d53e0d584e979181f6fd5b7a749ea808d1357e31516e0ed353a768cc1
Homepage: http://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