How to Install and Uninstall clang-tidy Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 21,2024

1. Install "clang-tidy" package

Please follow the guidance below to install clang-tidy on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install clang-tidy

2. Uninstall "clang-tidy" package

Learn how to uninstall clang-tidy on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the clang-tidy package on Ubuntu 24.04 LTS (Noble Numbat)

Package: clang-tidy
Architecture: amd64
Version: 1:17.0-58~exp1
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.58~exp1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 21
Depends: clang-tidy-17 (>= 17~)
Breaks: clang (<< 1:3.6-28)
Replaces: clang (<< 1:3.6-28)
Filename: pool/universe/l/llvm-defaults/clang-tidy_17.0-58~exp1_amd64.deb
Size: 5544
MD5sum: f425e0be84e2066260493b3fd3531615
SHA1: cf5deba4e7b33890f37e867039eb0d28281d8ea8
SHA256: 9f5a010693e9bb5a15447832daf3e1a35bebe389665e945a0286f7a0caec8fb3
SHA512: ae4d7bdcba3b266a001f281132130091dfcb07a1731701b40793bc0b91a22e8cb98b55cf1593c055a2737cc505a30bd0135719ea25e5002f79c874cd999875d6
Description: clang-based C++ linter tool
Description-md5: e32373427b28170217c40b30ee117e2f