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

Last updated: May 10,2024

1. Install "clang-10" package

This is a short guide on how to install clang-10 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install clang-10

2. Uninstall "clang-10" package

Please follow the step by step instructions below to uninstall clang-10 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: clang-10
Architecture: amd64
Version: 1:10.0.0-4ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-10
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 320
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang-cpp10, libgcc-s1 (>= 3.0), libllvm10 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-9-dev, libgcc-9-dev, libobjc-9-dev, libclang-common-10-dev (= 1:10.0.0-4ubuntu1), libclang1-10 (= 1:10.0.0-4ubuntu1), libc6-dev, binutils
Recommends: llvm-10-dev, python3, libomp-10-dev
Suggests: clang-10-doc
Filename: pool/universe/l/llvm-toolchain-10/clang-10_10.0.0-4ubuntu1_amd64.deb
Size: 66880
MD5sum: 6b7fb7ffb06a228bbcf33d902b058d68
SHA1: 0923a6899bafc3956ebde89bcf91621f3925fb29
SHA256: 197748fa2a85bd062fb80fd23cc8ac1e7fb91106994210dcc4234c68617d5c4f
Homepage: https://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: c364160e44345420df0f2e97b3082b69