Valgrind Home Information Source Code Documentation Contact How to Help Gallery

Source Code Repositories

If you are looking for a stable release of the source code, you should download it from the Current Releases page. The rest of this page describes how to get hold of code at the leading edge of the development effort. Such code may not work properly.

The actively developed, current (v3.0 and later) code is in a Subversion (SVN) repository at valgrind.org.
The old (v2.4 and earlier) code, also in an SVN repository, is hosted by kde.org, at least for the moment.

If you are doing any development work, please do it using the code from the current repository at valgrind.org!


The Current (3.0 and later) Repository

To check out code from the current repository (anonymous, read-only SVN access), do this:

  svn co svn://svn.valgrind.org/valgrind/trunk valgrind

As of January 2007, the code from this repository works well on x86/Linux, AMD64/Linux, PPC32/Linux and PPC64/Linux.

To build the checked out code, follow the instructions in the README file that the checkout should give you. Alternatively, the following should work:

  cd valgrind
  ./autogen.sh
  ./configure --prefix=...
  make
  make install

To do the checkout, you'll need a Subversion client, version 1.1.0 or later. Versions prior to 1.1.0 do not properly handle the symbolic links in our tree.

To do the build, you'll need autoconf, and automake version 1.7 or later. These should come as standard on any non-ancient Linux distribution. You also need to have the svnversion program (part of the Subversion client suite) in your path - if you don't, building the VEX library will fail.


The Old (2.4 and earlier) Repository

If you want to browse the old repository you can use the web interface.

To check out code from the old repository (anonymous, read-only Subversion access), follow these anonymous SVN instructions.
Or, if you want the short version, to check out the SVN trunk, run:

  svn co svn://anonsvn.kde.org/home/kde/trunk/valgrind/

To build the checked out code, follow the instructions in the README file that the checkout should give you.



Bad, Bad Bug!

Copyright © 2000-2007 Valgrind Developers

Best Viewed With A Browser