While re-reading through ex4, it seems a shell script has been added for installing valgrind (yay!)
This commit is contained in:
parent
e5fffdeaf1
commit
27b496fbe3
20
ex4.sh
Executable file
20
ex4.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user