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

Last updated: May 19,2024

1. Install "clang-6.0" package

This is a short guide on how to install clang-6.0 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install clang-6.0

2. Uninstall "clang-6.0" package

Please follow the guidelines below to uninstall clang-6.0 on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: clang-6.0
Architecture: amd64
Version: 1:6.0-1ubuntu2
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: 35718
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.4), libjsoncpp1 (>= 1.7.4), libllvm6.0 (>= 1:6.0~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-7-dev, libgcc-7-dev, libobjc-7-dev, libclang-common-6.0-dev (= 1:6.0-1ubuntu2), libclang1-6.0 (= 1:6.0-1ubuntu2), libc6-dev, binutils
Recommends: llvm-6.0-dev, python, libomp-dev
Suggests: gnustep, gnustep-devel, clang-6.0-doc
Filename: pool/universe/l/llvm-toolchain-6.0/clang-6.0_6.0-1ubuntu2_amd64.deb
Size: 9291904
MD5sum: 1f68fdadf8f8c10b9ee0bc45567a00bf
SHA1: fc25ef5668c96d2c009feb91585dc2fb6f690ad7
SHA256: a8ca3b38fd3b5ae54793ddcefa7c5023970ba0ae6d9dcfaef8c2cabaa7ae5914
Homepage: http://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: 224e1c81284b37e6720b78f6cf56d36b
Supported: 3y