4

I'm trying to install valgrind, but the installation failed.

This is what I did:

#tar jxvf valgrind−3.7.0.tar.bz2
#cd valgrind−3.7.0
#./configure
#make
#make install

Here it says

/usr/local/include/valgrind Permission denied.

#sudo apt-get install valgrind-3.7.0

Here it says unable to locate package valgrind-3.7.0

Someone please help me on this

ubuntuHelp
  • 43
  • 1
  • 1
  • 3

1 Answers1

4

Typically that last part needs to be done as root:

sudo make install

And to try apt-get instead of compiling source, leave off the version:

sudo apt-get install valgrind