How to Install and Uninstall cppcheck-gui Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 17,2024

1. Install "cppcheck-gui" package

This guide covers the steps necessary to install cppcheck-gui on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cppcheck-gui

2. Uninstall "cppcheck-gui" package

This is a short guide on how to uninstall cppcheck-gui on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the cppcheck-gui package on Ubuntu 21.04 (Hirsute Hippo)

Package: cppcheck-gui
Architecture: amd64
Version: 2.3-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: 5625
Depends: libc6 (>= 2.29), libgcc-s1 (>= 3.0), libpcre3, libqt5charts5 (>= 5.7.1), libqt5core5a (>= 5.15.1), libqt5gui5 (>= 5.0.2) | libqt5gui5-gles (>= 5.0.2), libqt5help5 (>= 5.6.0~beta), libqt5printsupport5 (>= 5.0.2), libqt5widgets5 (>= 5.15.1), libstdc++6 (>= 9), libtinyxml2-8 (>= 8.0.0), libz3-4 (>= 4.8.9), cppcheck (= 2.3-1)
Suggests: python3, clang, clang-tidy
Filename: pool/universe/c/cppcheck/cppcheck-gui_2.3-1_amd64.deb
Size: 1783208
MD5sum: cfba423f3f1091ee3b0cd8864d474183
SHA1: 1cfc8eaf2ef6796bfd18d21a6edc985473f3cf89
SHA256: c7486fe4668a6d6a9ccd37ac5242aedd0af4806a1663d8a72dec490a4b109d43
SHA512: 98872b2aca9e30750a0362090e6fd72efc3a1875ec558e2dcdfb8d6aac7830f658e31344cba1511644e687102f88fb4388a4650212b386292585bbde65734ea6
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