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

Last updated: May 15,2024

1. Install "clang-6.0" package

Please follow the instructions below to install clang-6.0 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install clang-6.0

2. Uninstall "clang-6.0" package

This is a short guide on how to uninstall clang-6.0 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: clang-6.0
Architecture: amd64
Version: 1:6.0.1-14
Priority: optional
Section: universe/devel
Source: llvm-toolchain-6.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37869
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.4), libjsoncpp1 (>= 1.7.4), libllvm6.0 (>= 1:6.0~svn298832-1~), libstdc++6 (>= 9), libstdc++-9-dev, libgcc-9-dev, libobjc-9-dev, libclang-common-6.0-dev (= 1:6.0.1-14), libclang1-6.0 (= 1:6.0.1-14), libc6-dev, binutils
Recommends: llvm-6.0-dev, python2, libomp-dev
Suggests: gnustep, gnustep-devel
Filename: pool/universe/l/llvm-toolchain-6.0/clang-6.0_6.0.1-14_amd64.deb
Size: 9831140
MD5sum: 2c075c5ce998342eb071baecbe60769b
SHA1: 14473a06c35e7c87491f15b7b990f0457cb2c163
SHA256: e27f752373c6be1f6b4595c6ee741d13894da7ba2a4db4f68152de03dd121aef
Homepage: https://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: 224e1c81284b37e6720b78f6cf56d36b