2012-02-12 18:11:03 +00:00
|
|
|
# 1) Download it (use wget if you don't have curl)
|
2012-02-12 18:24:31 +00:00
|
|
|
curl -O http://valgrind.org/downloads/valgrind-3.7.0.tar.bz2
|
2012-02-12 18:11:03 +00:00
|
|
|
|
|
|
|
# use md5sum to make sure it matches the one on the site
|
2012-02-12 18:24:31 +00:00
|
|
|
md5sum valgrind-3.7.0.tar.bz2
|
2012-02-12 18:11:03 +00:00
|
|
|
|
|
|
|
# 2) Unpack it.
|
2012-02-12 18:24:31 +00:00
|
|
|
tar -xjvf valgrind-3.7.0.tar.bz2
|
2012-02-12 18:11:03 +00:00
|
|
|
|
|
|
|
# cd into the newly created directory
|
2012-02-12 18:24:31 +00:00
|
|
|
cd valgrind-3.7.0
|
2012-02-12 18:11:03 +00:00
|
|
|
|
|
|
|
# 3) configure it
|
|
|
|
./configure
|
|
|
|
|
|
|
|
# 4) make it
|
|
|
|
make
|
|
|
|
|
|
|
|
# 5) install it (need root)
|
|
|
|
sudo make install
|