While re-reading through ex4, it seems a shell script has been added for installing valgrind (yay!)

This commit is contained in:
Dan Buch 2012-02-12 13:11:03 -05:00
parent e5fffdeaf1
commit 27b496fbe3

20
ex4.sh Executable file
View File

@ -0,0 +1,20 @@
# 1) Download it (use wget if you don't have curl)
curl -O http://valgrind.org/downloads/valgrind-3.6.1.tar.bz2
# use md5sum to make sure it matches the one on the site
md5sum valgrind-3.6.1.tar.bz2
# 2) Unpack it.
tar -xjvf valgrind-3.6.1.tar.bz2
# cd into the newly created directory
cd valgrind-3.6.1
# 3) configure it
./configure
# 4) make it
make
# 5) install it (need root)
sudo make install