How to Install and Uninstall clang-format-12 Package on Linux Mint 21 (Vanessa)

Last updated: April 19,2024

1. Install "clang-format-12" package

This guide covers the steps necessary to install clang-format-12 on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install clang-format-12

2. Uninstall "clang-format-12" package

In this section, we are going to explain the necessary steps to uninstall clang-format-12 on Linux Mint 21 (Vanessa):

$ sudo apt remove clang-format-12 $ sudo apt autoclean && sudo apt autoremove

3. Information about the clang-format-12 package on Linux Mint 21 (Vanessa)

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