How to Install and Uninstall clang-tidy-6.0 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 15,2024

1. Install "clang-tidy-6.0" package

This tutorial shows how to install clang-tidy-6.0 on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "clang-tidy-6.0" package

This is a short guide on how to uninstall clang-tidy-6.0 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the clang-tidy-6.0 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: clang-tidy-6.0
Architecture: amd64
Version: 1:6.0.1-14
Priority: optional
Section: universe/devel
Source: llvm-toolchain-6.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29157
Depends: libc6 (>= 2.29), libgcc-s1 (>= 3.4), libllvm6.0 (= 1:6.0.1-14), libstdc++6 (>= 5.2), python2, libclang-common-6.0-dev, clang-tools-6.0, python-yaml
Breaks: clang-6.0 (<< 1:6.0~svn250696-1), clang-modernize-6.0
Replaces: clang-6.0 (<< 1:6.0~svn250696-1), clang-modernize-6.0
Filename: pool/universe/l/llvm-toolchain-6.0/clang-tidy-6.0_6.0.1-14_amd64.deb
Size: 7364108
MD5sum: aebb7f75c8c2f61d457e214af4397ddb
SHA1: a2bb280341a40d176efc1abc10258d49fd07d705
SHA256: 3f8d90a52d04524d9d049e8489f56c901421fbb68619e503fa33a844dc9d6705
Homepage: https://www.llvm.org/
Description: clang-based C++ linter tool
Description-md5: 239d974b460ce0b6a914aa94c05888ad