From 27b496fbe3a0fc3254f2cd869a64c9d0a9ead990 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 12 Feb 2012 13:11:03 -0500 Subject: [PATCH] While re-reading through ex4, it seems a shell script has been added for installing valgrind (yay!) --- ex4.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 ex4.sh diff --git a/ex4.sh b/ex4.sh new file mode 100755 index 0000000..ce5c1f1 --- /dev/null +++ b/ex4.sh @@ -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