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

Last updated: November 26,2024

1. Install "clang-7" package

In this section, we are going to explain the necessary steps to install clang-7 on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

Package: clang-7
Architecture: amd64
Version: 1:7.0.1-12
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: 30656
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libllvm7 (>= 1:7~svn298832-1~), libstdc++6 (>= 9), libstdc++-9-dev, libgcc-9-dev, libobjc-9-dev, libclang-common-7-dev (= 1:7.0.1-12), libclang1-7 (= 1:7.0.1-12), libc6-dev, binutils
Recommends: llvm-7-dev, python2, libomp-7-dev
Filename: pool/universe/l/llvm-toolchain-7/clang-7_7.0.1-12_amd64.deb
Size: 7842464
MD5sum: b29725cf6b33ee98e6c891af59c5319e
SHA1: ad423ba3acf4f4f4959a30e39862e2ca66cc780c
SHA256: 6252ee47cd3c502923274ccdbc22241ec839e28778ddeb22910006455cc645b2
Homepage: https://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: 224e1c81284b37e6720b78f6cf56d36b