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

Last updated: May 18,2024

1. Install "clang-tidy-5.0" package

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

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

2. Uninstall "clang-tidy-5.0" package

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

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

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

Package: clang-tidy-5.0
Architecture: amd64
Version: 1:5.0-3~16.04.1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-5.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22872
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.4), libllvm5.0 (= 1:5.0-3~16.04.1), libstdc++6 (>= 5.2), python
Breaks: clang-5.0 (<< 1:5.0~svn250696-1), clang-modernize-5.0
Replaces: clang-5.0 (<< 1:5.0~svn250696-1), clang-modernize-5.0
Filename: pool/universe/l/llvm-toolchain-5.0/clang-tidy-5.0_5.0-3~16.04.1_amd64.deb
Size: 6344434
MD5sum: 13b273cfcc6867c642f7eb9d8f916e7f
SHA1: 6ae9721bd38e92649d6cacc2d427ca328507d422
SHA256: 2d66e6b3932bfd33a0b6b318def6eb576ee6bbc28c26c6cea3ff1987e500b8f6
SHA512: d9c6108561b9a1d0a2532a78703e9d55078ca8fa1f17ff07d03efe426b577c2f283a40df41a457bba8e9825f9a2f3bdddac2b5088f7346f0b4c5f08dd444d498
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