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

Last updated: November 26,2024

1. Install "llvm-9" package

This tutorial shows how to install llvm-9 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install llvm-9

2. Uninstall "llvm-9" package

Please follow the guidance below to uninstall llvm-9 on Ubuntu 21.10 (Impish Indri):

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

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

Package: llvm-9
Architecture: amd64
Version: 1:9.0.1-16.1ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-9
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17701
Depends: llvm-9-runtime (= 1:9.0.1-16.1ubuntu1), libc6 (>= 2.33), libgcc-s1 (>= 3.3), libllvm9 (>= 1:9~svn298832-1~), libpfm4, libstdc++6 (>= 9), libtinfo6 (>= 6), zlib1g (>= 1:1.1.4)
Recommends: llvm-9-dev
Suggests: llvm-9-doc
Filename: pool/universe/l/llvm-toolchain-9/llvm-9_9.0.1-16.1ubuntu1_amd64.deb
Size: 5239836
MD5sum: 42f393df04d4db46659a7960ed46afd6
SHA1: 6e758ef5874cfbb9b99486b6aae61e2a31a7ceb5
SHA256: 5ccf51a708bd37974e85a04e01c773aec607725b9f39de5b61d3c71f20884835
SHA512: 414aa30b91a98be2fb4427952d84af18c1c178a5743636d0df2fbceb9a196b60b5e25fbbe3b3355d03a43511c9e195c2b8cb72f429ca37e1af0115fa081c66c6
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, SparcV9, PowerPC or many other architectures.
Description-md5: c0407a823731253111d3bc7df8551893