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

Last updated: May 20,2024

1. Install "clang-8" package

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

$ sudo apt update $ sudo apt install clang-8

2. Uninstall "clang-8" package

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

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

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

Package: clang-8
Architecture: amd64
Version: 1:8-3~ubuntu16.04.1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-8
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30960
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libllvm8 (>= 1:8~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-5-dev, libgcc-5-dev, libobjc-5-dev, libclang-common-8-dev (= 1:8-3~ubuntu16.04.1), libclang1-8 (= 1:8-3~ubuntu16.04.1), libc6-dev, binutils
Recommends: llvm-8-dev, python, libomp-8-dev
Suggests: clang-8-doc
Filename: pool/universe/l/llvm-toolchain-8/clang-8_8-3~ubuntu16.04.1_amd64.deb
Size: 7900206
MD5sum: 39dceab632d0f1c88f34d97cd31626b5
SHA1: 4c6df8beba0b89bd754009de2ae8b609860b7785
SHA256: 86f104bccf2904906ce02e8b2f55fb54bb1a57a05a21c09924e02bdf60ca51c4
SHA512: 3078f9a1a5da123ef0a5febeab412236351d8c3650ffd21835ebe1836d8f116e952309474ecf759f9680a91d4a04c3a766bd3613456968493f5ccae5142ce79b
Homepage: https://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