• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Trying to install "Perf"

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,188
Solutions
34
Reaction score
200
obs: Im using linux ubuntu 16.04
i'm tring to instal perf to get some reports of a server:
Code:
sudo apt install linux-tools-5.0.0-23-generic

but i getting this error:
Code:
root@1: apt install linux-tools-5.0.0-23-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-tools-5.0.0-23-generic
E: Couldn't find any package by glob 'linux-tools-5.0.0-23-generic'
E: Couldn't find any package by regex 'linux-tools-5.0.0-23-generic'
 
sudo apt-get update sudo apt-get install perf
It'll won't work, but it'll tell you the suggested package to install for perf.
 
sudo apt-get update sudo apt-get install perf
It'll won't work, but it'll tell you the suggested package to install for perf.
what it means?
Code:
root@1:~# sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:2 http://ubuntu.mirrors.net/ubuntu xenial InRelease [247 kB]
Get:3 http://ubuntu.mirrors.net/ubuntu xenial-updates InRelease [109 kB]
Get:4 http://ubuntu.mirrors.net/ubuntu xenial-backports InRelease [107 kB]
Get:5 https://last-public-kernel.snap.mirrors.net/debian ovhkernel InRelease [4,930 B]
Fetched 577 kB in 0s (804 kB/s)
Reading package lists... Done
root@1:~# sudo apt-get install perf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package perf
 
Code:
sudo apt-get install linux-tools-common linux-tools-generic linux-tools-`uname -r`
Found here: How to install "perf" monitoring tool? (https://askubuntu.com/questions/50145/how-to-install-perf-monitoring-tool)
You can try those other answers as well.
thx bro, but none worked for me lol
always return this error, and when i type 'perf', get hits
Code:
 warning WARNING: perf not found for kernel 4.19-ovh
You may need to install the following packages for this specific kernel: 
linux-tools-4.19-ovh-xxxx-std-ipv6-64 
linux-cloud-tools-4.19-ovh-xxxx-std-ipv6-64

You may also want to install one of the following packages to keep up to date: 
linux-tools-xxxx-std-ipv6-64 
linux-cloud-tools-xxxx-std-ipv6-64
 

Similar threads

Back
Top