How to Install and Uninstall clang-tidy Package on Debian 12 (Bookworm)

Last updated: May 04,2024

1. Install "clang-tidy" package

Please follow the instructions below to install clang-tidy on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install clang-tidy

2. Uninstall "clang-tidy" package

Learn how to uninstall clang-tidy on Debian 12 (Bookworm):

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

3. Information about the clang-tidy package on Debian 12 (Bookworm)

Package: clang-tidy
Source: llvm-defaults (0.55.7~deb12u1)
Version: 1:14.0-55.7~deb12u1
Installed-Size: 21
Maintainer: LLVM Packaging Team
Architecture: amd64
Replaces: clang (<< 1:3.6-28)
Depends: clang-tidy-14 (>= 14~)
Breaks: clang (<< 1:3.6-28)
Description: clang-based C++ linter tool
Description-md5: e32373427b28170217c40b30ee117e2f
Section: devel
Priority: optional
Filename: pool/main/l/llvm-defaults/clang-tidy_14.0-55.7~deb12u1_amd64.deb
Size: 5028
MD5sum: 6d6d779e6801fd52797cbd6e345bda28
SHA256: 13464ae4f83fa42eea803ddafbe1bd19e7ed0998e7b4474970a3bcec553774db