How to Install and Uninstall clang-tidy Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 18,2024

1. Install "clang-tidy" package

Please follow the instructions below to install clang-tidy on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install clang-tidy

2. Uninstall "clang-tidy" package

This guide covers the steps necessary to uninstall clang-tidy on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the clang-tidy package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: clang-tidy
Architecture: amd64
Version: 1:3.8-33ubuntu3.1
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.33ubuntu3.1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: clang-tidy-3.8 (>= 3.8~)
Breaks: clang (<< 1:3.6-28)
Replaces: clang (<< 1:3.6-28)
Filename: pool/universe/l/llvm-defaults/clang-tidy_3.8-33ubuntu3.1_amd64.deb
Size: 2768
MD5sum: 9ed0d31d310e9caee93fde19e5ebba1b
SHA1: 3b9da6b9632ab9d88002b9c20839029ef2b06d42
SHA256: 3fc5db22f0d28545d4eb086c4c3b7f0f5c59084d83b2d109a1ce1935af874ed8
SHA512: e537c3e05bf8130d6160637b358ffcacd3cc06ab06f21d5a4844c7dd4871e83b36b9e18b18d8f463b495937475e1bdfeeab1483e203e84011c1051faece53c25
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.
.
This is a dependency package providing the clang tidy tool.
Description-md5: 997e82653d3d90e8f16054aa656aa1c8

Package: clang-tidy
Priority: optional
Section: universe/devel
Installed-Size: 14
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Architecture: amd64
Source: llvm-defaults (0.33ubuntu3)
Version: 1:3.8-33ubuntu3
Replaces: clang (<< 1:3.6-28)
Depends: clang-tidy-3.8 (>= 3.8~)
Breaks: clang (<< 1:3.6-28)
Filename: pool/universe/l/llvm-defaults/clang-tidy_3.8-33ubuntu3_amd64.deb
Size: 2702
MD5sum: 15e2a5f23a7eb04d1630b9ac78898b8e
SHA1: 0dc00605dd6a669d0adc9a45555e065d26225dbd
SHA256: 849d0b318484216372c5d2fc55535bb6793f73e99c9ae29410859de88c2a72c4
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.
.
This is a dependency package providing the clang tidy tool.
Description-md5: 997e82653d3d90e8f16054aa656aa1c8
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu