How to Install and Uninstall clang Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: November 07,2024
1. Install "clang" package
Here is a brief guide to show you how to install clang on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
clang
Copied
2. Uninstall "clang" package
This is a short guide on how to uninstall clang on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
clang
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the clang package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: clang
Architecture: amd64
Version: 1:6.0-41~exp5~ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.41~exp5~ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22
Depends: clang-6.0 (>= 6.0~)
Breaks: clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Replaces: clang (<< 3.2-1~exp2), clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Filename: pool/universe/l/llvm-defaults/clang_6.0-41~exp5~ubuntu1_amd64.deb
Size: 3216
MD5sum: b195af46c117df77552434136403e2dd
SHA1: 007b5e3e927cbf74fbe56b43f2de6ce9e284da7e
SHA256: 7cfa0c5695378406b30ba110b4284e8bdc2df334fd9bf9a659c275f52e1c1175
SHA512: 3aeef91d47de50bf7e66b641aab55e4b7f10c0c210e41b46d543fd25ddb0c2d6280b67fca53647461a7b55abedafe2f1c9faa6cc976011e4c3cd4969380fdf46
Description: C, C++ and Objective-C compiler (LLVM based)
Description-md5: 417b47912f4072aafff4541922523a39
Package: clang
Architecture: amd64
Version: 1:6.0-41~exp4
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.41~exp4)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 21
Depends: clang-6.0 (>= 6.0~)
Breaks: clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Replaces: clang (<< 3.2-1~exp2), clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Filename: pool/universe/l/llvm-defaults/clang_6.0-41~exp4_amd64.deb
Size: 3152
MD5sum: 8a90acbc9a3bc020eb34bc508340426e
SHA1: 767690f8c855cf01be90cc5f1ab95bb1d5c46102
SHA256: cfcebe60cae62088d4c759f8e0bf6dd8f846fbc78edf702cfd6424343fabb59e
Description: C, C++ and Objective-C compiler (LLVM based)
Description-md5: 417b47912f4072aafff4541922523a39
Architecture: amd64
Version: 1:6.0-41~exp5~ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.41~exp5~ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22
Depends: clang-6.0 (>= 6.0~)
Breaks: clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Replaces: clang (<< 3.2-1~exp2), clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Filename: pool/universe/l/llvm-defaults/clang_6.0-41~exp5~ubuntu1_amd64.deb
Size: 3216
MD5sum: b195af46c117df77552434136403e2dd
SHA1: 007b5e3e927cbf74fbe56b43f2de6ce9e284da7e
SHA256: 7cfa0c5695378406b30ba110b4284e8bdc2df334fd9bf9a659c275f52e1c1175
SHA512: 3aeef91d47de50bf7e66b641aab55e4b7f10c0c210e41b46d543fd25ddb0c2d6280b67fca53647461a7b55abedafe2f1c9faa6cc976011e4c3cd4969380fdf46
Description: C, C++ and Objective-C compiler (LLVM based)
Description-md5: 417b47912f4072aafff4541922523a39
Package: clang
Architecture: amd64
Version: 1:6.0-41~exp4
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.41~exp4)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 21
Depends: clang-6.0 (>= 6.0~)
Breaks: clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Replaces: clang (<< 3.2-1~exp2), clang-3.2, clang-3.3, clang-3.4 (<< 1:3.4.2-7~exp1), clang-3.5 (<< 1:3.5~+rc1-3~exp1)
Filename: pool/universe/l/llvm-defaults/clang_6.0-41~exp4_amd64.deb
Size: 3152
MD5sum: 8a90acbc9a3bc020eb34bc508340426e
SHA1: 767690f8c855cf01be90cc5f1ab95bb1d5c46102
SHA256: cfcebe60cae62088d4c759f8e0bf6dd8f846fbc78edf702cfd6424343fabb59e
Description: C, C++ and Objective-C compiler (LLVM based)
Description-md5: 417b47912f4072aafff4541922523a39