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

Last updated: November 21,2024

1. Install "clang-tidy" package

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

$ sudo apt update $ sudo apt install clang-tidy

2. Uninstall "clang-tidy" package

This guide let you learn how to uninstall clang-tidy on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: clang-tidy
Architecture: amd64
Version: 1:6.0-41~exp5~ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.41~exp5~ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: clang-tidy-6.0 (>= 6.0~)
Breaks: clang (<< 1:3.6-28)
Replaces: clang (<< 1:3.6-28)
Filename: pool/universe/l/llvm-defaults/clang-tidy_6.0-41~exp5~ubuntu1_amd64.deb
Size: 2984
MD5sum: ba776891fdb5a5094483f3b2279162c8
SHA1: d75819d44d0914f08b22e3a2367ea9cb6d0dbe09
SHA256: 4ed95783cbd8e84edcee1c7480f4b5cedd64900286f5ed717ca657576bdf0f55
SHA512: 815a21ee6c2e90ae137ce78457c96ae1d1c6671cba4d1225dd547a76ed3873201f6de9bbce136bbcd2d30647373a822c9d4aa12a0dc152ecf323834e8e892756
Description: clang-based C++ linter tool
Description-md5: e32373427b28170217c40b30ee117e2f

Package: clang-tidy
Architecture: amd64
Version: 1:6.0-41~exp4
Priority: optional
Section: universe/devel
Source: llvm-defaults (0.41~exp4)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16
Depends: clang-tidy-6.0 (>= 6.0~)
Breaks: clang (<< 1:3.6-28)
Replaces: clang (<< 1:3.6-28)
Filename: pool/universe/l/llvm-defaults/clang-tidy_6.0-41~exp4_amd64.deb
Size: 2880
MD5sum: c479cf1537b752a512e47254aa1cdf22
SHA1: 94513c9d7610889651d196f11c02e60c78029c58
SHA256: a6ac1222d380637cd613220a3f87e91a3457d9935c0400c937efcdb393f59be4
Description: clang-based C++ linter tool
Description-md5: e32373427b28170217c40b30ee117e2f