I am trying to install perf. I searched online that it is available through http://apt.ubuntu.com/p/linux-tools, but I need apt. I have yum installed, but do not have apt so I tried installing apt via "yum install apt" but I get this message:

Setting up Install Process
No package apt available.
Nothing to do

Also, I have on my machines Red Hat AS5 and CentOS 5, not Ubuntu. Is installing from that Ubuntu repository okay?

link|improve this question

78% accept rate
feedback

migrated from stackoverflow.com Jan 20 at 22:23

This question came from our site for professional and enthusiast programmers.

1 Answer

Just type in command line:

yum install perf

(Dont forget sudo if you are not running as admin.)

link|improve this answer
I tried that. Seems like perf isn't found. Here's the message I get: yum install perf Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. 2010Q4-rhas5-x86_64 | 951 B 00:00 Setting up Install Process No package perf available. Nothing to do – barrrista Jan 20 at 22:35
@user1119779 did you try it on centos, I tried it on centos 6.2 and it worked perfectly? The problem might be something else for you, then. However I think the way to go via the apt thing, is not the right thing to do. – bamboon Jan 20 at 22:47
turns out it isn't available for centOS5. starts with centOS6. going to try to build from source... – barrrista Jan 21 at 1:38
feedback

Your Answer

 
or
required, but never shown

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