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

Last updated: November 23,2024

1. Install "clang-5.0" package

Please follow the guidance below to install clang-5.0 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install clang-5.0

2. Uninstall "clang-5.0" package

This guide covers the steps necessary to uninstall clang-5.0 on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: clang-5.0
Architecture: amd64
Version: 1:5.0.1-4
Priority: optional
Section: universe/devel
Source: llvm-toolchain-5.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 33388
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.4), libjsoncpp1 (>= 1.7.4), libllvm5.0 (>= 1:5.0~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-7-dev, libgcc-7-dev, libobjc-7-dev, libclang-common-5.0-dev (= 1:5.0.1-4), libclang1-5.0 (= 1:5.0.1-4), libc6-dev, binutils
Recommends: llvm-5.0-dev, python, libomp-dev
Suggests: gnustep, gnustep-devel, clang-5.0-doc
Breaks: clang-include-fixer-5.0
Replaces: clang-include-fixer-5.0
Filename: pool/universe/l/llvm-toolchain-5.0/clang-5.0_5.0.1-4_amd64.deb
Size: 8846052
MD5sum: 89672410b12ab54c2fe31a178ecaae80
SHA1: 1687a82f1be7366bd38c210f725a2bf1a2e03804
SHA256: c75f09ab6f61043973125cf951a1cecb05c481674126918dedf70ba92c89425d
Homepage: http://www.llvm.org/
Description: C, C++ and Objective-C compiler
Description-md5: 224e1c81284b37e6720b78f6cf56d36b