How to Install and Uninstall llvm-12 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 07,2024

1. Install "llvm-12" package

In this section, we are going to explain the necessary steps to install llvm-12 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install llvm-12

2. Uninstall "llvm-12" package

Please follow the step by step instructions below to uninstall llvm-12 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the llvm-12 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: llvm-12
Architecture: amd64
Version: 1:12.0.1-19ubuntu3
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: 43125
Depends: llvm-12-runtime (= 1:12.0.1-19ubuntu3), llvm-12-linker-tools (= 1:12.0.1-19ubuntu3), 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-19ubuntu3_amd64.deb
Size: 11589962
MD5sum: f88c2cde2ddb044e02797807611fb616
SHA1: fe2ff8f7353a957286b925c5b828659f844eb6be
SHA256: dd4da86546f619340ac6d902f38f234208702550932ecc29b532a563c5e91bc0
SHA512: e3ce60fe1d8afe32c89494982696e149aca2da8c301fd7d5b1a2b576f69205d50754a90a3a7978bf0cb51eb43a996d65f71f23f531ffc9cf3c822bbb3c7ad585
Homepage: https://www.llvm.org/
Description: Modular compiler and toolchain technologies
Description-md5: 07d463911771b9679a5f0131f40992d4