How to Install and Uninstall clang-tidy-12 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: April 24,2024

1. Install "clang-tidy-12" package

This is a short guide on how to install clang-tidy-12 on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "clang-tidy-12" package

This tutorial shows how to uninstall clang-tidy-12 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the clang-tidy-12 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: clang-tidy-12
Architecture: amd64
Version: 1:12.0.0-3ubuntu1~20.04.5
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: 5880
Depends: libc6 (>= 2.14), libclang-cpp12 (>= 1:12.0.0), libgcc-s1 (>= 3.0), libllvm12 (= 1:12.0.0-3ubuntu1~20.04.5), libstdc++6 (>= 5.2), python3, libclang-common-12-dev, clang-tools-12, python3-yaml
Filename: pool/universe/l/llvm-toolchain-12/clang-tidy-12_12.0.0-3ubuntu1~20.04.5_amd64.deb
Size: 1098072
MD5sum: f575b1eb83e1f8159d80a431ccf5f24c
SHA1: 90579ea903c6f8699c9095cd2a9f144636dfe8e3
SHA256: 44bf6070c91a6d9b4aedf03f308591ad9638f72d403d8fffa55d8a2db5968e19
SHA512: 8f5af17818772eb7560921fca8523cbf9f5d98ea64bb541b0a0315bb4e0ef8d1535df0190759e5f10a282dde6f487e62c0778286b4258e6825f0539b2c36748f
Homepage: https://www.llvm.org/
Description: clang-based C++ linter tool
Description-md5: 239d974b460ce0b6a914aa94c05888ad