llvm-10 on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 26,2022

1. Install llvm-10 package

Please follow the instructions below to install llvm-10 package:

sudo apt update
sudo apt install llvm-10

2. Uninstall / Remove llvm-10 package

Please follow the instructions below to uninstall llvm-10 package:

sudo apt remove llvm-10
sudo apt autoclean && sudo apt autoremove

3. Details of llvm-10 package

Package: llvm-10
Architecture: amd64
Version: 1:10.0.0-4ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-10
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20482
Depends: llvm-10-runtime (= 1:10.0.0-4ubuntu1), libc6 (>= 2.15), libgcc-s1 (>= 3.3), libllvm10 (>= 1:9~svn298832-1~), libpfm4, libstdc++6 (>= 9), libtinfo6 (>= 6), zlib1g (>= 1:1.1.4)
Recommends: llvm-10-dev
Suggests: llvm-10-doc
Filename: pool/universe/l/llvm-toolchain-10/llvm-10_10.0.0-4ubuntu1_amd64.deb
Size: 5214152
MD5sum: 2a3b548363d9bc17343814450a7be6d6
SHA1: a23fda36eb436b178375394096e194842bfbafed
SHA256: e7452c44a2c5bd94bc57a98faca33d87ffd0aa9cdcdab49049c2212855fe55c7
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

5. The same packages on other Linux Distributions