How to Install and Uninstall clang-8 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: January 28,2025

1. Install "clang-8" package

This tutorial shows how to install clang-8 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install clang-8

2. Uninstall "clang-8" package

Learn how to uninstall clang-8 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the clang-8 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: clang-8
Architecture: amd64
Version: 1:8-3~ubuntu18.04.2
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: 31061
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++-7-dev, libgcc-7-dev, libobjc-7-dev, libclang-common-8-dev (= 1:8-3~ubuntu18.04.2), libclang1-8 (= 1:8-3~ubuntu18.04.2), 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~ubuntu18.04.2_amd64.deb
Size: 7939544
MD5sum: 953465af0eeb734c896f7d6bbeccc059
SHA1: 2df625e59bd9cbfc3a708df06bda9d704415cac1
SHA256: 19ec6a3d8e67d5a3004362b00cb808c217f283fafad85ea4838d10832f655b30
SHA512: 5293edfccdbce1917fd69440573a19c2fb80f3249df78a393fe712547bcae46b2a1015077fae6bd50e21145220f0256772eaca4290a9cf9f21bc487a061a2f29
Homepage: https://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: 224e1c81284b37e6720b78f6cf56d36b