Information about the package, cppcheck, which is shipped with common Linux distributions. The cppcheck package is designed for, Tool for static C/C++ code analysis.
Package Name:
cppcheck
Summary:
Tool for static C/C++ code analysis
Description:
Cppcheck is a static analysis tool for C/C++ code. Unlike C/C++ compilers and many other analysis tools it does not detect syntax errors in the code. Cppcheck primarily detects the types of bugs that the compilers normally do not detect. The goal is to detect only real errors in the code (i.e. have zero false positives).
Architecture:
x86_64
Version:
1.63
Release:
2.el6
Size:
625 k
Repository:
epel
From Repository:
Licence:
GPLv3+
Control the cppcheck package with the following handy commands outlined below.
yum install cppcheck
This command will install cppcheck on the server.
yum remove cppcheck
This command will un-install cppcheck on the server. When you run this command, you will be asked if you are sure that you want to remove cppcheck, so you have to manually confirm that you want to do this.
yum -y remove cppcheck
This command will un-install cppcheck on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove cppcheck when using the -y flag.
yum update cppcheck
This command will update cppcheck to the latest version. When you run this command, you will be asked if you are sure that you want to remove cppcheck, so you have to manually confirm that you want to do this.
yum -y update cppcheck
This command will update cppcheck to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove cppcheck when using the -y flag.
yum info cppcheck
This command will show you core information about the cppcheck package.
yum deplist cppcheck
This command will show you the dependencies for cppcheck. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update cppcheck
This command will check if there is an update waiting on cppcheck. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.