problem
Attempting to install perf monitor resource overhead, an error is reported after installation
WARNING: perf not found for kernel 4.15.0-39
You may need to install the following packages for this specific kernel:
linux-tools-4.15.0-39-generic
linux-cloud-tools-4.15.0-39-generic
You may also want to install one of the following packages to keep up to date:
linux-tools-generic
linux-cloud-tools-generic
Install the corresponding version of linux-tools-4.15.0-39-generic
and cannot find the package
Solution:
In fact, perf is built into linux tools generic
, so you can create a perf soft link after installation
sudo apt install linux-tools-generic
sudo ln -s ln -s /usr/lib/linux-tools/4.15.0-162-generic/perf /usr/bin/perf
The 4.15.0-162-generic
field should be replaced as appropriate
Similar Posts:
- linux mount: unknown filesystem type ‘exfat’
- Ubuntu Ubuntu 14.04.5 vmware-tool Installation
- Installing Google Chrome in Ubuntu 14.04 LTS
- How to Solve Linux Error: ifconfig command not found
- [Solved] CentOS7 failed to install psutil: module command’gcc’ failed with exit status 1
- Problem solving SDK platform tools component is missing
- Ubuntu adb :no permissions (user in plugdev group; are your udev rules wrong?);
- curl (3) Illegal characters found in URL
- Failed to create symbolic link ‘/usr/bin/utserver’: File exists with Error: Cannot find…
- How to fix the “kernel driver not installed (RC = – 1908)” error of VirtualBox in Ubuntu