pkg.soopen package index

brew / rang 1124

Installer cppcheck avec Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cppcheck pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install cppcheck

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install cppcheck

MacPorts ports tree · devel/cppcheck/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add cppcheck

Alpine Linux edge package indexes · cppcheck · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install cppcheck

Debian stable package indexes · cppcheck · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install cppcheck

Fedora Rawhide package metadata · cppcheck · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#cppcheck

nixpkgs package indexes · pkgs/by-name/cp/cppcheck/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S cppcheck

Arch Linux sync databases · cppcheck · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install cppcheck

openSUSE Tumbleweed package metadata · cppcheck · Source: download.opensuse.org

Windows

Chocolateyvérifié · 92%
choco install cppcheck

Chocolatey community package catalog · cppcheck · Source: community.chocolatey.org

Scoopvérifié · 92%
scoop install main/cppcheck

Scoop official bucket manifest trees · bucket/cppcheck.json · Source: api.github.com

Windows Package Managervérifié · 92%
winget install --id Cppcheck.Cppcheck -e

Windows Package Manager source index · Cppcheck.Cppcheck · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Static analysis of C and C++ code

Commandes et alias

  • cppcheck
  • cppcheck-htmlreport

historique

Historique du projet et usages

Cppcheck is an open-source static analysis tool for C and C++ code. It focuses on bugs that compilers commonly miss, especially undefined behavior and dangerous constructs, while trying to keep false positives low.

Historique du projet

The upstream README notes that the original name was C++check and was later changed to Cppcheck. It also says that despite the name, Cppcheck is designed for both C and C++.

The GitHub repository was created in March 2009. The README states that the repository moved from danmar/cppcheck to cppcheck-opensource/cppcheck, and the official website now links current source downloads to the cppcheck-opensource GitHub releases.

Cppcheck has kept both command-line and graphical user interfaces. Upstream build documentation covers CMake, Visual Studio, Qt Creator, GNU make, MinGW, and cross-compiling, which explains why it appears in many OS package ecosystems.

Historique d'adoption

The supplied package facts list Cppcheck across Homebrew, MacPorts, Debian, Ubuntu, Fedora/dnf, Alpine/apk, Arch/pacman, Nix, openSUSE/zypper, Chocolatey, Scoop, winget, and more. Upstream's README also explicitly points users to Homebrew, MacPorts, Conda, Conan, and other distribution channels, while warning that third-party packages may lag releases.

The official website lists integrations with development tools such as Buildbot, CLion, Code::Blocks, CodeLite, Eclipse, and others. That integration footprint is part of why Cppcheck is common in CI and editor workflows.

Modes d'utilisation

Cppcheck is used from the command line and GUI to analyze C/C++ projects for memory issues, out-of-bounds access, uninitialized variables, null dereferences, invalid shifts, integer overflows, and other undefined behavior. Upstream also documents addon, rules, and platform data files as part of packaged installs.

Pourquoi les passionnés de paquets s'y intéressent

Cppcheck is package-significant because static analyzers are often installed as developer tools rather than vendored into one project. Packagers need to track release cadence, optional PCRE/rules support, GUI builds, data-file install paths, and the upstream repository move while preserving a stable cppcheck command for CI.

Chronologie

  • 2009: Public GitHub repository created.
  • 2025: The upstream README documents the repository move to cppcheck-opensource/cppcheck.
  • 2026: Official releases include Cppcheck 2.21.0.

Related projects

  • Cppcheck Premium is the upstream commercial offering with additional checks and support.
  • The official website lists editor and CI integrations, including Buildbot, CLion, Code::Blocks, CodeLite, and Eclipse.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 1 dépendances d’exécution.
  • Les métadonnées de compilation listent 2 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
cppcheckcliexécutable global
cppcheck-htmlreportcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-08-04
version du gestionnaire2.21.0
gestionnaire mis à jour2026-07-05
données localesOK
amontà jour
dernière version détectée2.21.0

https://github.com/cppcheck-opensource/cppcheck

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:cppcheck
Version2.21.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/cppcheck
Page d'accueilhttps://sourceforge.net/projects/cppcheck/
Dépôthttps://github.com/cppcheck-opensource/cppcheck
Docs amonthttps://sourceforge.net/projects/cppcheck/
LicenceGPL-3.0-or-later
Archive sourcehttps://github.com/cppcheck-opensource/cppcheck/archive/refs/tags/2.21.0.tar.gz
Dernière mise à jour2026-07-05T00:14:30+09:00
Pulseupdated
Dépendancestinyxml2
Dépendances de compilationcmake, python@3.14
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecppcheck
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

cppcheck 2.17.1-2

tool for static C/C++ code analysis (CLI)

https://sourceforge.net/p/cppcheck/wiki/Home/

sudo apt install cppcheck
  • Section: devel
  • Architecture: amd64
  • 6 Dépendances
  • 3 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cppcheck
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cppcheck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cppcheck-gui 2.17.1-2

tool for static C/C++ code analysis (GUI)

https://sourceforge.net/p/cppcheck/wiki/Home/

sudo apt install cppcheck-gui
  • Section: devel
  • Architecture: amd64
  • Source Package: cppcheck
  • 12 Dépendances
  • 3 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cppcheck
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cppcheck-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cppcheck

nix profile install nixpkgs#cppcheck
  • normalized package name match
  • Correspondance par : Cppcheck
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cp/cppcheck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cppcheck 2.13.0-2ubuntu3

tool for static C/C++ code analysis (CLI)

https://sourceforge.net/p/cppcheck/wiki/Home/

sudo apt install cppcheck
  • Section: universe/devel
  • Architecture: amd64
  • 6 Dépendances
  • 3 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cppcheck
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cppcheck from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

cppcheck-gui 2.13.0-2ubuntu3

tool for static C/C++ code analysis (GUI)

https://sourceforge.net/p/cppcheck/wiki/Home/

sudo apt install cppcheck-gui
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: cppcheck
  • 12 Dépendances
  • 3 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cppcheck
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cppcheck-gui from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

cppcheck 2.21.0-r0

Static analysis tool for C/C++ code

https://cppcheck.sourceforge.io/

sudo apk add cppcheck
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cppcheck
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cppcheck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cppcheck from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cppcheck-doc 2.21.0-r0

Static analysis tool for C/C++ code (documentation)

https://cppcheck.sourceforge.io/

sudo apk add cppcheck-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cppcheck
  • normalized package name match
  • Correspondance par : Cppcheck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cppcheck-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cppcheck-gui 2.21.0-r0

Qt gui for cppcheck

https://cppcheck.sourceforge.io/

sudo apk add cppcheck-gui
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cppcheck
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cppcheck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cppcheck-gui from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cppcheck-htmlreport 2.21.0-r0

Utility to generate a html report of a XML file produced by cppcheck

https://cppcheck.sourceforge.io/

sudo apk add cppcheck-htmlreport
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cppcheck
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cppcheck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cppcheck-htmlreport from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

cppcheck 2.21.1-2.fc45

Tool for static C/C++ code analysis

http://cppcheck.sourceforge.io/

sudo dnf install cppcheck
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cppcheck
  • 8 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cppcheck
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cppcheck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
dnf95%

cppcheck-gui 2.21.1-2.fc45

Graphical user interface for cppcheck

http://cppcheck.sourceforge.io/

sudo dnf install cppcheck-gui
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cppcheck
  • 14 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Cppcheck
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cppcheck-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
dnf95%

cppcheck-htmlreport 2.21.1-2.fc45

HTML reporting for cppcheck

http://cppcheck.sourceforge.io/

sudo dnf install cppcheck-htmlreport
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cppcheck
  • 3 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cppcheck
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cppcheck-htmlreport from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
pacman95%

cppcheck 2.21.1-1

A tool for static C/C++ code analysis

http://cppcheck.sourceforge.net/

sudo pacman -S cppcheck
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 6 Dépendances
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cppcheck
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cppcheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

cppcheck 2.21.0-1.3

A tool for static C/C++ code analysis

https://github.com/cppcheck-opensource/cppcheck

sudo zypper install cppcheck
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cppcheck
  • 6 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cppcheck
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cppcheck from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

cppcheck-gui 2.21.0-1.3

A tool for static C/C++ code analysis

https://github.com/cppcheck-opensource/cppcheck

sudo zypper install cppcheck-gui
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cppcheck
  • 11 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cppcheck
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cppcheck-gui from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

cppcheck

sudo port install cppcheck
  • normalized package name match
  • Correspondance par : Cppcheck
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/cppcheck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation