How to Install and Uninstall clang-tidy Package on Debian 11 (Bullseye)

Last updated: December 18,2024

1. Install "clang-tidy" package

This guide let you learn how to install clang-tidy on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install clang-tidy

2. Uninstall "clang-tidy" package

Please follow the instructions below to uninstall clang-tidy on Debian 11 (Bullseye):

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

3. Information about the clang-tidy package on Debian 11 (Bullseye)

Package: clang-tidy
Source: llvm-defaults (0.51+nmu5)
Version: 1:11.0-51+nmu5
Installed-Size: 22
Maintainer: LLVM Packaging Team
Architecture: amd64
Replaces: clang (<< 1:3.6-28)
Depends: clang-tidy-11 (>= 11~)
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_11.0-51+nmu5_amd64.deb
Size: 8628
MD5sum: b04d20323bfe45cf8316b94498e06db2
SHA256: 70ad1248f7ec2e7fa6e38af615992c7c714d8ff03e27e28b7577228087173496