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

Last updated: December 27,2024

1. Install "clang-tidy-7" package

This guide covers the steps necessary to install clang-tidy-7 on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "clang-tidy-7" package

Please follow the steps below to uninstall clang-tidy-7 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: clang-tidy-7
Architecture: amd64
Version: 1:7.0.1-12
Priority: optional
Section: universe/devel
Source: llvm-toolchain-7
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23086
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libllvm7 (= 1:7.0.1-12), libstdc++6 (>= 9), python2, libclang-common-7-dev, clang-tools-7, python-yaml
Breaks: clang-7 (<< 7~svn250696-1), clang-modernize-7
Replaces: clang-7 (<< 7~svn250696-1), clang-modernize-7
Filename: pool/universe/l/llvm-toolchain-7/clang-tidy-7_7.0.1-12_amd64.deb
Size: 5709868
MD5sum: f921d86d32a635d15b6d85cd14404ceb
SHA1: 94c3e1c68ed9d8ccaf8745bddf06060cf01f29ef
SHA256: 43ddb6b17b3669df7918561185b577a679c1103bd8c90f813fce8f3bb922d68a
Homepage: https://www.llvm.org/
Description: clang-based C++ linter tool
Description-md5: 239d974b460ce0b6a914aa94c05888ad