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

Last updated: April 28,2024

1. Install "clang-tidy-9" package

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

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

2. Uninstall "clang-tidy-9" package

This is a short guide on how to uninstall clang-tidy-9 on Ubuntu 21.10 (Impish Indri):

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

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

Package: clang-tidy-9
Architecture: amd64
Version: 1:9.0.1-16.1ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-9
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25913
Depends: libc6 (>= 2.33), libgcc-s1 (>= 3.0), libllvm9 (= 1:9.0.1-16.1ubuntu1), libstdc++6 (>= 9), python3, libclang-common-9-dev, clang-tools-9, python3-yaml
Filename: pool/universe/l/llvm-toolchain-9/clang-tidy-9_9.0.1-16.1ubuntu1_amd64.deb
Size: 6759840
MD5sum: c7350013512ac528741097debe8100df
SHA1: 69ea05ebb17e1c732e974edfe50bd1a8ae7e4a8a
SHA256: ea7b9ca58dc2d998d29828eea70d192f74b797800f3c58afc53b10c08c9deab7
SHA512: 383d24ff479dbfbe4d83e78f3ff3dcead9dbd1bbabc84224c99b02018ae839400f62797912c093cf1ea8d79b9e637bf08bf21bb9f5ff31b5f78933031680ac88
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