How to Install and Uninstall clang-8 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 25,2024

1. Install "clang-8" package

This tutorial shows how to install clang-8 on Ubuntu 20.04 LTS (Focal Fossa)

$ 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 20.04 LTS (Focal Fossa):

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

3. Information about the clang-8 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: clang-8
Architecture: amd64
Version: 1:8.0.1-9
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: 31124
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libllvm8 (>= 1:8~svn298832-1~), libstdc++6 (>= 9), libstdc++-8-dev, libgcc-8-dev, libobjc-8-dev, libclang-common-8-dev (= 1:8.0.1-9), libclang1-8 (= 1:8.0.1-9), libc6-dev, binutils
Recommends: llvm-8-dev, python3, libomp-8-dev
Suggests: clang-8-doc
Filename: pool/universe/l/llvm-toolchain-8/clang-8_8.0.1-9_amd64.deb
Size: 7980092
MD5sum: 86834af33e19f38994785cc61e8d7462
SHA1: eb27fcd36ce1b5ef99803666d804aa5c93efe713
SHA256: 573a6e4549ba2d6d85897cd4b589ddb78a59b4a231d02611d63baf5123c4b35b
Homepage: https://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: 224e1c81284b37e6720b78f6cf56d36b