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

Last updated: November 23,2024

1. Install "clang-4.0" package

In this section, we are going to explain the necessary steps to install clang-4.0 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install clang-4.0

2. Uninstall "clang-4.0" package

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

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

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

Package: clang-4.0
Architecture: amd64
Version: 1:4.0.1-10
Priority: optional
Section: universe/devel
Source: llvm-toolchain-4.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 31513
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.4), libjsoncpp1 (>= 1.7.4), libllvm4.0 (>= 1:4.0~), libstdc++6 (>= 5.2), libstdc++-7-dev, libgcc-7-dev, libobjc-7-dev, libclang-common-4.0-dev (= 1:4.0.1-10), libclang1-4.0 (= 1:4.0.1-10), libc6-dev, binutils
Recommends: llvm-4.0-dev, python, libomp-dev
Suggests: gnustep, gnustep-devel, clang-4.0-doc
Breaks: clang-include-fixer-4.0
Replaces: clang-include-fixer-4.0
Filename: pool/universe/l/llvm-toolchain-4.0/clang-4.0_4.0.1-10_amd64.deb
Size: 8349800
MD5sum: 725fff4557629af971610b77454d44e7
SHA1: 390b23ed58721d8d7ed9c0a7bbe48c18066249c9
SHA256: ff57118574d6c9fe3edc0f269b6fcd4ccb0a3f92e04d2dda862678ac67e2ec9f
Homepage: http://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: 224e1c81284b37e6720b78f6cf56d36b