How to Install and Uninstall llvm-12 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "llvm-12" package

Here is a brief guide to show you how to install llvm-12 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install llvm-12

2. Uninstall "llvm-12" package

Learn how to uninstall llvm-12 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the llvm-12 package on Ubuntu 21.10 (Impish Indri)

Package: llvm-12
Architecture: amd64
Version: 1:12.0.1-8build1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-12
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 41900
Depends: llvm-12-runtime (= 1:12.0.1-8build1), llvm-12-linker-tools (= 1:12.0.1-8build1), libc6 (>= 2.34), libgcc-s1 (>= 3.3), libllvm12, libpfm4, libstdc++6 (>= 11), libtinfo6 (>= 6), zlib1g (>= 1:1.2.0)
Recommends: llvm-12-dev
Suggests: llvm-12-doc
Filename: pool/universe/l/llvm-toolchain-12/llvm-12_12.0.1-8build1_amd64.deb
Size: 11346764
MD5sum: cca9619d21c8bcea0ebca171ea3f1792
SHA1: a01fde83f1731b80dbffd7610cd20d63cc70b570
SHA256: bfd3d348ab7d590dd47077f017fdfb59f2a02cebf1a3936352d9bc3380e021a5
SHA512: 96fa47cbf5e0f537d079af25f9bb4a59da8bde06a1c4a5c656a9389829903c59ca50e8759136da4ffc24190e0d407448e824068b7ee8f051bbf8247aad085cfe
Homepage: https://www.llvm.org/
Description-en: Modular compiler and toolchain technologies
LLVM is a collection of libraries and tools that make it easy to build
compilers, optimizers, just-in-time code generators, and many other
compiler-related programs.
.
LLVM uses a single, language-independent virtual instruction set both
as an offline code representation (to communicate code between
compiler phases and to run-time systems) and as the compiler internal
representation (to analyze and transform programs). This persistent
code representation allows a common set of sophisticated compiler
techniques to be applied at compile-time, link-time, install-time,
run-time, or "idle-time" (between program runs).
.
The strengths of the LLVM infrastructure are its extremely
simple design (which makes it easy to understand and use),
source-language independence, powerful mid-level optimizer, automated
compiler debugging support, extensibility, and its stability and
reliability. LLVM is currently being used to host a wide variety of
academic research projects and commercial projects. LLVM includes C
and C++ front-ends, a front-end for a Forth-like language (Stacker),
a young scheme front-end, and Java support is in development. LLVM can
generate code for X96, SparcV10, PowerPC or many other architectures.
Description-md5: 07d463911771b9679a5f0131f40992d4