How to Install and Uninstall cppcheck-gui Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 05,2024

1. Install "cppcheck-gui" package

Please follow the guidance below to install cppcheck-gui on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install cppcheck-gui

2. Uninstall "cppcheck-gui" package

This tutorial shows how to uninstall cppcheck-gui on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the cppcheck-gui package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: cppcheck-gui
Priority: optional
Section: universe/devel
Installed-Size: 2633
Maintainer: Ubuntu Developers
Original-Maintainer: Joachim Reichel
Architecture: amd64
Source: cppcheck
Version: 1.72-1
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libpcre3, libqt5core5a (>= 5.5.0), libqt5gui5 (>= 5.0.2) | libqt5gui5-gles (>= 5.0.2), libqt5printsupport5 (>= 5.0.2), libqt5widgets5 (>= 5.2.0), libstdc++6 (>= 5.2), libtinyxml2-2v5 (>= 2.0.2)
Filename: pool/universe/c/cppcheck/cppcheck-gui_1.72-1_amd64.deb
Size: 863994
MD5sum: d43215540529f8aa50e0457c1a6a952a
SHA1: 9d8bdf88399279866f0fb00802198d2e4b0d7cd8
SHA256: e6d5eacb9858f598e82cd8633b982efc066c73490acca3d637173954131c9d19
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: b3e01d6db194a228d20fea8213988225
Homepage: http://sourceforge.net/p/cppcheck/wiki/Home/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu