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

Last updated: November 26,2024

1. Install "clang-5.0" package

This tutorial shows how to install clang-5.0 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install clang-5.0

2. Uninstall "clang-5.0" package

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

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

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

Package: clang-5.0
Architecture: amd64
Version: 1:5.0-3~16.04.1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-5.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 205571
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.15), libclang1-5.0 (= 1:5.0-3~16.04.1), libgcc1 (>= 1:3.4), libjsoncpp1, libllvm5.0 (>= 1:5.0~svn298832-1~), libstdc++6 (>= 5.2), libtinfo5 (>= 6), libstdc++-5-dev, libgcc-5-dev, libobjc-5-dev, libclang-common-5.0-dev (= 1:5.0-3~16.04.1), libc6-dev, binutils
Recommends: llvm-5.0-dev, python
Suggests: gnustep, gnustep-devel, clang-5.0-doc, libomp-dev
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-5.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-5.0, compiler-rt
Filename: pool/universe/l/llvm-toolchain-5.0/clang-5.0_5.0-3~16.04.1_amd64.deb
Size: 58203340
MD5sum: 8002fdb933fa39447296c7bae973f274
SHA1: 242e8609f9c8bf8c2fb24e2baae942476166fd7f
SHA256: d13fe3a3b45da451046779b26c34f065b0f0432736382cec5c5566cff54b22f7
SHA512: 39c6c3e6cc42e2740799a30964e36bbd5098a524433434271db0e626bbe3a2dde0ffbae4dd4954d94f1eda9d602e4ac3a6493d0bcd0e5de0596cd496c50bb779
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