How to Install and Uninstall clang-4.0 Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 27,2024
1. Install "clang-4.0" package
Please follow the steps below to install clang-4.0 on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
clang-4.0
Copied
2. Uninstall "clang-4.0" package
In this section, we are going to explain the necessary steps to uninstall clang-4.0 on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
clang-4.0
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the clang-4.0 package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: clang-4.0
Architecture: amd64
Version: 1:4.0-1ubuntu1~16.04.2
Priority: optional
Section: devel
Source: llvm-toolchain-4.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 179279
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang1-4.0 (= 1:4.0-1ubuntu1~16.04.2), libgcc1 (>= 1:3.4), libjsoncpp1, libllvm4.0, libstdc++6 (>= 5.2), libstdc++-5-dev, libgcc-5-dev, libobjc-5-dev, libclang-common-4.0-dev (= 1:4.0-1ubuntu1~16.04.2), libc6-dev, binutils
Recommends: llvm-4.0-dev, python
Suggests: gnustep, gnustep-devel, clang-4.0-doc
Breaks: clang-3.1, clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1), clang-include-fixer-4.0, compiler-rt
Replaces: clang-3.1, clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1), clang-include-fixer-4.0, compiler-rt
Filename: pool/main/l/llvm-toolchain-4.0/clang-4.0_4.0-1ubuntu1~16.04.2_amd64.deb
Size: 50912792
MD5sum: 763fd0add110b4eced6dca2e4494502c
SHA1: a68960c683fff2b6b408a782af945f9c49622869
SHA256: effbbd5bd38ab24113810f9a5cef4a3e690edb3aa985b56490a1676360ae2f03
SHA512: 98c4182304d1a23024b47c6423952a15057d756dc0e7696470f1abf2cdbc99ba891f6bf39212d07cfe0a4e6d5d12e7fb2ae49a1b77e5051978301faf1e32c898
Homepage: http://www.llvm.org/
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 fully implements all published ISO C++ standards including C++11, as
well as the upcoming C++14 standard, and some parts of the fledgling C++1z
standard, and is considered a production-quality C++ compiler.
Description-md5: f85429e3e58e05d246ab8521f946b31a
Supported: 5y
Architecture: amd64
Version: 1:4.0-1ubuntu1~16.04.2
Priority: optional
Section: devel
Source: llvm-toolchain-4.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 179279
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang1-4.0 (= 1:4.0-1ubuntu1~16.04.2), libgcc1 (>= 1:3.4), libjsoncpp1, libllvm4.0, libstdc++6 (>= 5.2), libstdc++-5-dev, libgcc-5-dev, libobjc-5-dev, libclang-common-4.0-dev (= 1:4.0-1ubuntu1~16.04.2), libc6-dev, binutils
Recommends: llvm-4.0-dev, python
Suggests: gnustep, gnustep-devel, clang-4.0-doc
Breaks: clang-3.1, clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1), clang-include-fixer-4.0, compiler-rt
Replaces: clang-3.1, clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1), clang-include-fixer-4.0, compiler-rt
Filename: pool/main/l/llvm-toolchain-4.0/clang-4.0_4.0-1ubuntu1~16.04.2_amd64.deb
Size: 50912792
MD5sum: 763fd0add110b4eced6dca2e4494502c
SHA1: a68960c683fff2b6b408a782af945f9c49622869
SHA256: effbbd5bd38ab24113810f9a5cef4a3e690edb3aa985b56490a1676360ae2f03
SHA512: 98c4182304d1a23024b47c6423952a15057d756dc0e7696470f1abf2cdbc99ba891f6bf39212d07cfe0a4e6d5d12e7fb2ae49a1b77e5051978301faf1e32c898
Homepage: http://www.llvm.org/
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 fully implements all published ISO C++ standards including C++11, as
well as the upcoming C++14 standard, and some parts of the fledgling C++1z
standard, and is considered a production-quality C++ compiler.
Description-md5: f85429e3e58e05d246ab8521f946b31a
Supported: 5y