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

Last updated: November 23,2024

1. Install "clang-7" package

Please follow the step by step instructions below to install clang-7 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install clang-7

2. Uninstall "clang-7" package

This guide let you learn how to uninstall clang-7 on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: clang-7
Architecture: amd64
Version: 1:7-3~ubuntu0.18.04.1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37622
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.4), libllvm7 (>= 1:7~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-7-dev, libgcc-7-dev, libobjc-7-dev, libclang-common-7-dev (= 1:7-3~ubuntu0.18.04.1), libclang1-7 (= 1:7-3~ubuntu0.18.04.1), libc6-dev, binutils
Recommends: llvm-7-dev, python, libomp-dev
Suggests: clang-7-doc
Filename: pool/universe/l/llvm-toolchain-7/clang-7_7-3~ubuntu0.18.04.1_amd64.deb
Size: 9841328
MD5sum: 2bda14f8f34721966d341404a74ef39a
SHA1: 433ba34e4ea4a38528e6dadbb3efc8d9a06432c1
SHA256: 713bd74ba12c75ab7c7d10db074246f293fc1d13e3c01783955a46b1336aabb7
SHA512: 40caa330dde756f911aee042cd87b67a3ca53f6e782390491556074d2e6a9cde73c7f6f6d6e7b90a8f0420641676dff4be9fe78f76673faf38cd7ba1557184eb
Homepage: https://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: 224e1c81284b37e6720b78f6cf56d36b