9
votes

I installed valgrind on Centos using this command:

yum install valgrind kcachegrind graphviz

I then used the callgrind tool for my c++ program. It generated its callgrind.out.42424 file.

Now, I want to open this file on KCacheGrind using this command:

   kcachegrind ./callgrind.out.42424

but terminal says

bash kcachegrind : command not found

I don't know why I am getting this error whereas I installed it. Do I need to be in specific directory to run this command?

1
What does rpm -q -l kcachegrind say? - David Schwartz
@DavidSchwartz It says no package kcachegrind available. I now did yum install kcachegrind but it says no package kcachegrind available. - Xara
What is the correct command to install this? - Xara
Google suggests “kdesdk” for CentOS - Frank Osterfeld
@FrankOsterfeld Thanks! it works. - Xara

1 Answers

9
votes
sudo yum install kdesdk valgrind graphviz