How to Install and Uninstall clang-format-12 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 07,2024
Notice
You can also install and uninstall the clang-format-12 on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "clang-format-12" package
Please follow the steps below to install clang-format-12 on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
clang-format-12
Copied
2. Uninstall "clang-format-12" package
In this section, we are going to explain the necessary steps to uninstall clang-format-12 on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
clang-format-12
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the clang-format-12 package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: clang-format-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: 209
Depends: libc6 (>= 2.34), libclang-cpp12 (>= 1:12.0.1), libgcc-s1 (>= 3.0), libllvm12 (= 1:12.0.1-19ubuntu3), libstdc++6 (>= 5.2), python3
Filename: pool/universe/l/llvm-toolchain-12/clang-format-12_12.0.1-19ubuntu3_amd64.deb
Size: 47376
MD5sum: af3b1ec5cce5195af2b998634d2d15e8
SHA1: 54e6cca012a9536064fdf0a023d2a0624465180c
SHA256: 89311cd3ec3d396958334025c7d92b085596e4d6839986b6d039bf5a6981c6f1
SHA512: f9185908063d596549491628804a8caa135f30e405d91f3850a5a867d94f6ea5e33de16e0bdb81e7d2f856a89f10cab7c648b648cd7cc3e2208013ebcb90f62e
Homepage: https://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4
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: 209
Depends: libc6 (>= 2.34), libclang-cpp12 (>= 1:12.0.1), libgcc-s1 (>= 3.0), libllvm12 (= 1:12.0.1-19ubuntu3), libstdc++6 (>= 5.2), python3
Filename: pool/universe/l/llvm-toolchain-12/clang-format-12_12.0.1-19ubuntu3_amd64.deb
Size: 47376
MD5sum: af3b1ec5cce5195af2b998634d2d15e8
SHA1: 54e6cca012a9536064fdf0a023d2a0624465180c
SHA256: 89311cd3ec3d396958334025c7d92b085596e4d6839986b6d039bf5a6981c6f1
SHA512: f9185908063d596549491628804a8caa135f30e405d91f3850a5a867d94f6ea5e33de16e0bdb81e7d2f856a89f10cab7c648b648cd7cc3e2208013ebcb90f62e
Homepage: https://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4