---
title: Install cppcheck on Linux | Snap Store
description: Get the latest version of cppcheck for Linux - C/C++ static code analyser
url: https://snapcraft.io/cppcheck
---

# cppcheck

[George-Andrei Iosif (iosifache)](https://snapcraft.io/publisher/iosifache "View all snaps from George-Andrei Iosif (iosifache)")

* [George-Andrei Iosif (iosifache)](https://snapcraft.io/publisher/iosifache "View all snaps from George-Andrei Iosif (iosifache)")
* [Development](https://snapcraft.io/search?categories=development)
* [Security](https://snapcraft.io/search?categories=security)

latest/stable 2.13.99

Install latest/stable of cppcheck

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install cppcheck
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* cppcheck

---

### License

* GPL-3.0

---

### Last updated

* 23 January 2024 - latest/stable
* 26 September 2026 - latest/edge

---

### Websites

* [cppcheck.sourceforge.io](http://cppcheck.sourceforge.io "http://cppcheck.sourceforge.io")

---

### Contact

* [hi@iosifache.me](mailto:hi@iosifache.me "mailto:hi@iosifache.me")

---

### Source code

* [github.com/iosifache/cppcheck-snap](https://github.com/iosifache/cppcheck-snap "https://github.com/iosifache/cppcheck-snap")
* [github.com/danmar/cppcheck](https://github.com/danmar/cppcheck "https://github.com/danmar/cppcheck")

---

### Report a bug

* [github.com/iosifache/cppcheck-snap/issues](https://github.com/iosifache/cppcheck-snap/issues "https://github.com/iosifache/cppcheck-snap/issues")
* [github.com/danmar/cppcheck/issues](https://github.com/danmar/cppcheck/issues "https://github.com/danmar/cppcheck/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/cppcheck#report-snap-modal)

---

* [Description](https://snapcraft.io/cppcheck#tab-description)
* [Security](https://snapcraft.io/cppcheck#tab-security)

#### C/C++ static code analyser

Cppcheck is a static analysis tool for discovering bugs in C and C++ codebases, even when a non-standard syntax is used.

By implementing coding standards such as Mistra C 2012 and providing extensibility with custom rules, it detects dangerous coding constructs such as buffer overflows, NULL pointer dereferences, and divisions by zero. At the same time, Cppcheck tries to minimise the false positive rates.

---

## Install cppcheck on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/cppcheck/arch)

[### CentOS](https://snapcraft.io/install/cppcheck/centos)

[### Debian](https://snapcraft.io/install/cppcheck/debian)

[### elementary OS](https://snapcraft.io/install/cppcheck/elementary)

[### Fedora](https://snapcraft.io/install/cppcheck/fedora)

[### KDE Neon](https://snapcraft.io/install/cppcheck/kde-neon)

[### Kubuntu](https://snapcraft.io/install/cppcheck/kubuntu)

[### Manjaro](https://snapcraft.io/install/cppcheck/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/cppcheck/pop)

[### openSUSE](https://snapcraft.io/install/cppcheck/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/cppcheck/rhel)

[### Ubuntu](https://snapcraft.io/install/cppcheck/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/cppcheck/raspbian)
