How to Install and Uninstall llvm Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 07,2024

1. Install "llvm" package

Please follow the steps below to install llvm on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install llvm

2. Uninstall "llvm" package

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

$ sudo apt remove llvm $ sudo apt autoclean && sudo apt autoremove

3. Information about the llvm package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: llvm
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: 68
Depends: llvm-runtime (= 1:6.0-41~exp5~ubuntu1), llvm-6.0 (>= 6.0~)
Filename: pool/universe/l/llvm-defaults/llvm_6.0-41~exp5~ubuntu1_amd64.deb
Size: 3468
MD5sum: c1bf118cd3890ffe500e4fc82f2f9711
SHA1: 73bd2e1c03e0ab3994ef84c0f1925f78ea8b28a3
SHA256: 485f11f40e65e87c7fcb45a7c34b3200b757225be341512dc989e585de4e9452
SHA512: d4a136bccb42f36430f0f2e04961e93f770b55a51dab208f1f3d70a7d189ded4855b2a7d1a827d0d943bd000acf377e2589f40eb4c45d5cc47ad2caa55b8059e
Description: Low-Level Virtual Machine (LLVM)
Description-md5: ffb2ad1faa8b9702532e67eba7253b5f

Package: llvm
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: 68
Depends: llvm-runtime (= 1:6.0-41~exp4), llvm-6.0 (>= 6.0~)
Filename: pool/universe/l/llvm-defaults/llvm_6.0-41~exp4_amd64.deb
Size: 3452
MD5sum: 0e48f50a3378365e3c2c036059c6c45a
SHA1: 1715f9ed1a70f4896ab19d6fbeb7041a96358a91
SHA256: 1bdc3322059e66dc65b87e6b0586fe7656361d1d180a4ac938e5b1603651cf24
Description: Low-Level Virtual Machine (LLVM)
Description-md5: ffb2ad1faa8b9702532e67eba7253b5f