LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how can i install this package, perf? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-install-this-package-perf-924860/)

yumyumyum 01-20-2012 04:18 PM

how can i install this package, perf?
 
Hi,

How can I install the package, perf? I noticed it's available here: http://lxr.linux.no/#linux+v2.6.39/tools/perf/ and here: http://apt.ubuntu.com/p/linux-tools


I am using CentOS5 and have yum installed. I do not have apt. I tried to install apt but I get...


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

I also tried installing perf with yum but I get...

$ yum install perf
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package perf available.
Nothing to do

camorri 01-22-2012 06:37 AM

The first link you posted takes you to the server with the source code for compiling the program(s).

You need the correct tools installed on your system to compile any program. Yum installs compiled packages; .rpm's, ( binary executable code ).

See this link, it may give you a clew. -->http://anton.ozlabs.org/blog/2010/01...-ubuntu-karmic

The second link you posted does not work.

I had a quick look at rpmfind.com for a perf package. There are some for various versions of Fedora, I didn't see any for Centos5.

Best of luck.

Satyaveer Arya 01-22-2012 08:34 AM

Here is the link for downloading perf rpm: http://rpmfind.net/linux/RPM/centos/...plus.i686.html

And about APT:
Advanced Package Tool(APT) was originally developed for the Debian Linux distribution. Apt-rpm is a port of Debian’s APT modified to work with the RPM Package Manager.

Apt-rpm can work with repomd and handles multiple repositories much better. If a package is installed, dependencies are automatically installed. Like APT, it is much faster than yum.

To install apt:
#yum -y install apt

For more info about apt in Centos visit Field Commander Wiers and http://apt-rpm.org/


All times are GMT -5. The time now is 03:47 AM.