Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I read about perf tool and I was interested in using in my RedHat. On Ubuntu it is enough to call sudo apt-get install linux-tools-2.6.38-11.

What about RED HAT? I tried both:

yum install linux-tools
yum install perf

...but it doesn't work.

Do you know where I can get the source code so that I can compile it on my own? Currently the YUM repository is pointing to a server having most packages we usually install, but maybe it is missing this package.

What repository can I add to download it?

Are my call to yum correct? I read that call from

Thanks a lot

p.s. below details about my machine

uname -a
Red Hat Enterprise Linux Server release 5.3 (Tikanga)

cat /etc/redhat-release
Linux lndbxdev01 #1 SMP PREEMPT RT Mon Mar 23 10:58:10 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

This is the error message

Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
myrepository                                           |  951 B     00:00     
Setting up Install Process
Parsing package install arguments
No package perf available.
Nothing to do
share|improve this question
Re: "doesn't work" -- what was the actual error message? – RedGrittyBrick Mar 21 '12 at 14:39

perf is new enough that it's not available in RHEL 5.x, IIRC it was added only in kernel 2.6.31. It's there in RHEL 6, though.

share|improve this answer

It looks like it is available in epel repository. You need to run the following command as root to install epel repos on your RedHat/CentOS machine:

 rpm -Uvh


yum update

and then

yum install google-perftools google-perftools-devel

If you are running RHEL6 then you have to install the following as per the link you sent:

rpm -Uvh

The above should do it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.