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

Last updated: April 25,2024

1. Install "clang-tidy" package

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

$ sudo apt update $ sudo apt install clang-tidy

2. Uninstall "clang-tidy" package

Here is a brief guide to show you how to uninstall clang-tidy on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: clang-tidy
Architecture: amd64
Version: 1:12.0-52~exp1
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.52~exp1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22
Depends: clang-tidy-12 (>= 12~)
Breaks: clang (<< 1:3.6-28)
Replaces: clang (<< 1:3.6-28)
Filename: pool/universe/l/llvm-defaults/clang-tidy_12.0-52~exp1_amd64.deb
Size: 3204
MD5sum: 9a0776047e4464b7b7cf0d278015b417
SHA1: b443efc23a111ec53bb102d3228751b8bbfa2243
SHA256: 254b9fb339ec1081c8a46e7405bb8de427ff02e7b7a7132aa9c253ded663fff2
SHA512: c9c0a623d2b41cc83084f1f0ee83e17b2bd9b086db49631adf7d7290d8673705282d41dc5a49f42cdfc351627739a9ae535217ad14a0346ba9d068a7903d23c1
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