Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Valgrind on Ubuntu 16.04?

I have tried with http://valgrind.org/docs/manual/dist.install.html

But after the make,I got

make[2]: Leaving directory '/home/milenko/valgrind-3.11.0/mpi'
Making all in solaris
make[2]: Entering directory '/home/milenko/valgrind-3.11.0/solaris'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/milenko/valgrind-3.11.0/solaris'
Making all in docs
make[2]: Entering directory '/home/milenko/valgrind-3.11.0/docs'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/milenko/valgrind-3.11.0/docs'
make[1]: Leaving directory '/home/milenko/valgrind-3.11.0'

I am on x86.Then I tried

sudo apt-get install valgrind

but when I try to invoke it from command line

valgrind
valgrind: no program specified
valgrind: Use --help for more information.

Why?

like image 652
MotaF Avatar asked Sep 26 '16 17:09

MotaF


People also ask

Does Linux have Valgrind?

Valgrind is a tool for the x86 and AMD64 architectures and currently runs under Linux.


1 Answers

Paul R's comment may need to be put as answer.

I don't see any error in the make log. Your output of calling valgrind actually shows it has been correctly installed.

See here for the usage of valgrind. See here for more details for your problem.

like image 119
Roden Luo Avatar answered Oct 16 '22 20:10

Roden Luo