How to Install and Uninstall clang-tidy-11 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 01,2024

1. Install "clang-tidy-11" package

Please follow the steps below to install clang-tidy-11 on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "clang-tidy-11" package

In this section, we are going to explain the necessary steps to uninstall clang-tidy-11 on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the clang-tidy-11 package on Ubuntu 21.04 (Hirsute Hippo)

Package: clang-tidy-11
Architecture: amd64
Version: 1:11.0.1-2ubuntu4
Priority: optional
Section: universe/devel
Source: llvm-toolchain-11
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5657
Depends: libc6 (>= 2.14), libclang-cpp11 (>= 1:11.0.1), libgcc-s1 (>= 3.0), libllvm11 (= 1:11.0.1-2ubuntu4), libstdc++6 (>= 5.2), python3, libclang-common-11-dev, clang-tools-11, python3-yaml
Filename: pool/universe/l/llvm-toolchain-11/clang-tidy-11_11.0.1-2ubuntu4_amd64.deb
Size: 1056468
MD5sum: 17f9311d496d37ae8d4fe3734fd9fb7d
SHA1: 2c8c06260c6695d94a93d1bc17870c3873ffba61
SHA256: ea0349f9b6cc9248b87db52b1a3c2ea0b61613bfcb11ddb11e6bf228c5764e41
SHA512: 6f181cf87f687837124516508cde4047435e42da8e23f54d77498cde4f0296d7936ecb5470b741f4ed43e30f17c54167db1ca81c20c7f4ce29a8e55d47322b6e
Homepage: https://www.llvm.org/
Description-en: clang-based C++ linter tool
Provide an extensible framework for diagnosing and fixing typical programming
errors, like style violations, interface misuse, or bugs that can be deduced
via static analysis. clang-tidy is modular and provides a convenient interface
for writing new checks.
Description-md5: 239d974b460ce0b6a914aa94c05888ad