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

Last updated: May 19,2024

1. Install "clang-3.9" package

This tutorial shows how to install clang-3.9 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install clang-3.9

2. Uninstall "clang-3.9" package

Please follow the step by step instructions below to uninstall clang-3.9 on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: clang-3.9
Architecture: amd64
Version: 1:3.9.1-19ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-3.9
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 140661
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang1-3.9 (= 1:3.9.1-19ubuntu1), libgcc1 (>= 1:3.4), libjsoncpp1 (>= 1.7.4), libllvm3.9 (>= 1:3.9.1-6~), libstdc++6 (>= 5.2), libstdc++-7-dev, libgcc-7-dev, libobjc-7-dev, libclang-common-3.9-dev (= 1:3.9.1-19ubuntu1), libc6-dev, binutils
Recommends: llvm-3.9-dev, python
Suggests: gnustep, gnustep-devel, clang-3.9-doc
Breaks: clang-3.1, clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1), clang-include-fixer-3.9, compiler-rt
Replaces: clang-3.1, clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1), clang-include-fixer-3.9, compiler-rt
Filename: pool/universe/l/llvm-toolchain-3.9/clang-3.9_3.9.1-19ubuntu1_amd64.deb
Size: 37382288
MD5sum: abab9e062fbdbf2be9c8c6ff389de9cd
SHA1: 7881f0d6213ac1a6eb2bf4e091f485558f797859
SHA256: 52db33f59176bd3bd9f4a238ca96eec17dcbb5caa060a61ca966e15a5fc5f9fe
Homepage: http://www.llvm.org/
Description: C, C++ and Objective-C compiler (LLVM based)
Description-md5: f85429e3e58e05d246ab8521f946b31a