How to Install and Uninstall clang-tidy-5.0 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 17,2024

1. Install "clang-tidy-5.0" package

Please follow the steps below to install clang-tidy-5.0 on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "clang-tidy-5.0" package

Please follow the guidance below to uninstall clang-tidy-5.0 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the clang-tidy-5.0 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: clang-tidy-5.0
Architecture: amd64
Version: 1:5.0.1-4
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: 25329
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.4), libllvm5.0 (= 1:5.0.1-4), libstdc++6 (>= 5.2), python, libclang-common-5.0-dev, clang-tools-5.0
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.1-4_amd64.deb
Size: 6618424
MD5sum: 1d42959374f3b4b90266883269fe3f0c
SHA1: a946f5224583c37f1456eeca475b0f2d67e8afa7
SHA256: fc46665a04b87761170abc9b4cf3e79e2007acb42c52dfd74f0676541abef2da
Homepage: http://www.llvm.org/
Description: clang-based C++ linter tool
Description-md5: 239d974b460ce0b6a914aa94c05888ad