How to Install and Uninstall clang-tidy Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 27,2024

1. Install "clang-tidy" package

In this section, we are going to explain the necessary steps to install clang-tidy on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install clang-tidy

2. Uninstall "clang-tidy" package

Please follow the step by step instructions below to uninstall clang-tidy on Ubuntu 21.10 (Impish Indri):

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

3. Information about the clang-tidy package on Ubuntu 21.10 (Impish Indri)

Package: clang-tidy
Architecture: amd64
Version: 1:13.0-53~exp1
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.53~exp1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22
Depends: clang-tidy-13 (>= 13~)
Breaks: clang (<< 1:3.6-28)
Replaces: clang (<< 1:3.6-28)
Filename: pool/universe/l/llvm-defaults/clang-tidy_13.0-53~exp1_amd64.deb
Size: 2840
MD5sum: 8eb5f517477daa1b1e47c825bcdec584
SHA1: 6a0a49dc6456e2f4311e13412d765771a4aeaaa6
SHA256: bd3842fc76b6f6bd5ea4d035d2f50f3543cc09a2b655819b05adabcb89f443e6
SHA512: 309423b08490302fa232d04c57cda1dff9e84aca1669cf9ba71ba23d53c3c7e5dde80de8cc4ea9264f60c41b316b88d8c303e0f82e9bd746a50d14367bd15a7c
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.
.
clang-tidy replaces clang-modernize
.
This is a dependency package providing the clang tidy tool.
Description-md5: e32373427b28170217c40b30ee117e2f