Install Valgrind

Valgrind is used for memory profiling and memory leak detection.

Download the latest stable Valgrind (2.4.0 at the time of writing) from to the $HOME directory and unpack with the following commands:

bzip2 -d valgrind-2.4.0.tar.bz2
tar -xvf valgrind-2.4.0.tar

Build valgrind tools:

cd valgrind-2.4.0
./configure --prefix=$HOME/valgrind
make install

You can now delete the tar file and the build directory:

cd ..
rm -Rf valgrind-2.4.0
rm -f valgrind-2.4.0.tar
Last modified 15 years ago Last modified on Jul 13, 2005, 4:15:27 PM