Install latest/stable of valgrind

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install valgrind --classic

Don't have snapd? Get set up for snaps.

Channel Version Published

A programming tool for memory debugging, leak detection, and profiling

Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools.

The Valgrind distribution currently includes six production-quality tools: a memory error detector, two thread error detectors, a cache and branch-prediction profiler, a call-graph generating cache and branch-prediction profiler, a heap profiler, and a second heap profiler that examines how heap blocks are used. It also includes two experimental tools: a stack/global array overrun detector, and a SimPoint basic block vector generator.

Extra Tool

This snap also includes the experimental tool Failgrind, which is not part of the upstream Valgrind project.


Documentation for this release which includes the Failgrind tool is available at

The official Valgrind documentation is available at

Snap Package

The source for this snap package can be found


This package is not currently affiliated with the upstream valgrind project.

Details for valgrind

  • GPL-2.0+

Last updated
  • 17 November 2023 - latest/stable
  • 17 November 2023 - latest/edge

Share this snap

Generate an embeddable card to be shared on external websites.

Install valgrind 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.

Where people are using valgrind

Is there a problem with valgrind? Report this app