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

Last updated: November 23,2024

1. Install "clang-tidy-4.0" package

This guide let you learn how to install clang-tidy-4.0 on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "clang-tidy-4.0" package

Please follow the guidance below to uninstall clang-tidy-4.0 on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: clang-tidy-4.0
Architecture: amd64
Version: 1:4.0-1ubuntu1~16.04.2
Priority: optional
Section: universe/devel
Source: llvm-toolchain-4.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 21316
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.4), libllvm4.0, libstdc++6 (>= 5.2), python
Breaks: clang-4.0 (<< 1:4.0~svn250696-1), clang-modernize-4.0
Replaces: clang-4.0 (<< 1:4.0~svn250696-1), clang-modernize-4.0
Filename: pool/universe/l/llvm-toolchain-4.0/clang-tidy-4.0_4.0-1ubuntu1~16.04.2_amd64.deb
Size: 5958316
MD5sum: 22f1a6ca0926591fb03289c00070d083
SHA1: d4392d9bbd02979682a599ad5bfcca10d0c7bbac
SHA256: bce0c69e3f50802ad3d3ca74b89c337ea25c6b1e3ff1acb6596e27ab360677ee
SHA512: f0f4fb4b78a6323c80c975e9be13c5a63ac12d0381161b7f1089329883c98c7898c10622c69667cf8c080f215e141f6163ef3facf1a3bc278b8c3007c1cdf599
Homepage: http://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