Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

linux tools package container

I'm fairly new to Docker, and I'm trying to use perf to check performance on some stuff. Perf doesn't come with the images I'm using, so I went to install it. I used

apt-get update
apt-get install perf

which didn't work because perf is part of another package. I then tried

apt-get install -y linux-tools-common linux-tools-generic linux-tools-`uname -r`

which resulted in

E: Unable to locate package linux-tools-common
E: Unable to locate package linux-tools-generic
E: Unable to locate package linux-tools-3.10.0-862.3.3.el7.x86_64
E: Couldn't find any package by glob 'linux-tools-3.10.0-862.3.3.el7.x86_64'
E: Couldn't find any package by regex 'linux-tools-3.10.0-862.3.3.el7.x86_64'

Any recommendations as to what I should try?

like image 741
Karan Avatar asked Sep 15 '25 12:09

Karan


1 Answers

What helped me on Debian 10 was:

apt install linux-perf
like image 79
Adam Husár Avatar answered Sep 18 '25 05:09

Adam Husár