How to Install and Uninstall cppcheck Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 05,2024

1. Install "cppcheck" package

This is a short guide on how to install cppcheck on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install cppcheck

2. Uninstall "cppcheck" package

This tutorial shows how to uninstall cppcheck on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove cppcheck $ sudo apt autoclean && sudo apt autoremove

3. Information about the cppcheck package on Ubuntu 20.04 LTS (Focal Fossa)

Package: cppcheck
Architecture: amd64
Version: 1.90-4build1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Joachim Reichel
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6866
Depends: libc6 (>= 2.29), libgcc-s1 (>= 3.0), libpcre3, libstdc++6 (>= 9), libtinyxml2-6a (>= 5.0.0), python3:any, python3-pygments
Suggests: cppcheck-gui
Filename: pool/universe/c/cppcheck/cppcheck_1.90-4build1_amd64.deb
Size: 1645636
MD5sum: c6d502688b9c6a83be39ee1684b7304b
SHA1: 6fe97667d9fd62a184913a11ceca2d2cfe29417f
SHA256: 2350965bfce80ec4005e4b3e555990cebf529136af8d97f6aa0300d2bac260f2
Homepage: http://sourceforge.net/p/cppcheck/wiki/Home/
Description: tool for static C/C++ code analysis (CLI)
Description-md5: 9998bc10c93cd21710a4b0829a0bcc92