How to Install and Uninstall cppcheck-gui Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 17,2024

1. Install "cppcheck-gui" package

This guide covers the steps necessary to install cppcheck-gui on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install cppcheck-gui

2. Uninstall "cppcheck-gui" package

Please follow the guidelines below to uninstall cppcheck-gui on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the cppcheck-gui package on Ubuntu 20.10 (Groovy Gorilla)

Package: cppcheck-gui
Architecture: amd64
Version: 2.1-1
Priority: optional
Section: universe/devel
Source: cppcheck
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Joachim Reichel
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5524
Depends: libc6 (>= 2.29), libgcc-s1 (>= 3.0), libpcre3, libqt5charts5 (>= 5.7.1), libqt5core5a (>= 5.14.1), libqt5gui5 (>= 5.0.2) | libqt5gui5-gles (>= 5.0.2), libqt5printsupport5 (>= 5.0.2), libqt5widgets5 (>= 5.14.1), libstdc++6 (>= 9), libtinyxml2-8 (>= 8.0.0), cppcheck (= 2.1-1)
Suggests: python3, clang
Filename: pool/universe/c/cppcheck/cppcheck-gui_2.1-1_amd64.deb
Size: 1732660
MD5sum: c28291a1fec1ccef5abcc3c0cdafc0b8
SHA1: a2f3895e02670ce42998e214bc043de1422ff8d5
SHA256: 5cdcfecd42975ab3fa49d10fe64d17393cc9a24192e8cc7ceb6f806e163fe812
SHA512: 483b7cfa0a401ac4f8aec7d9805e883b85655e01fd62292176f0bde7f6169d914c629a3044224381ab62f53ba5b803dc67955c0445a7d2beccc07a6e700d5c7a
Homepage: http://sourceforge.net/p/cppcheck/wiki/Home/
Description-en: tool for static C/C++ code analysis (GUI)
Cppcheck is a command-line tool that tries to detect bugs that your
C/C++ compiler doesn't see. It is versatile, and can check non-standard
code including various compiler extensions, inline assembly code, etc.
Its internal preprocessor can handle includes, macros, and several
preprocessor commands. While Cppcheck is highly configurable,
you can start using it just by giving it a path to the source code.
.
It includes checks for:
* pointers to out-of-scope auto variables;
* assignment of auto variables to an effective parameter of a function;
* out-of-bounds errors in arrays and STL;
* missing class constructors;
* variables not initialized by a constructor;
* use of memset, memcpy, etcetera on a class;
* non-virtual destructors for base classes;
* operator= not returning a constant reference to itself;
* use of deprecated functions (mktemp, gets, scanf);
* exceptions thrown in destructors;
* memory leaks in class or function variables;
* C-style pointer cast in C++ code;
* redundant if;
* misuse of the strtol or sprintf functions;
* unsigned division or division by zero;
* unused functions and struct members;
* passing parameters by value;
* misuse of signed char variables;
* unusual pointer arithmetic (such as "abc" + 'd');
* dereferenced null pointers;
* incomplete statements;
* misuse of iterators when iterating through a container;
* dereferencing of erased iterators;
* use of invalidated vector iterators/pointers
.
This package contains the graphical user interface for cppcheck.
Description-md5: a5b195958a0dbd8a7eca7f99f946e638