- Пакет: linux-tools-common (5.19.0-46.47)
- Original Maintainer (usually from Debian):
- Подобные пакеты:
- Linux kernel version specific tools for version 5.19.0
- Другие пакеты, относящиеся к linux-tools-common
- Загрузка linux-tools-common
- How to install «perf» monitoring tool?
- linux-tools-common on Ubuntu 21.10 (Impish Indri)
- 2. Uninstall / Remove linux-tools-common package
- 3. Details of linux-tools-common package
- 4. References on Ubuntu 21.10 (Impish Indri)
Пакет: linux-tools-common (5.19.0-46.47)
Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.
Original Maintainer (usually from Debian):
It should generally not be necessary for users to contact the original maintainer.
Подобные пакеты:
- linux-ibm-tools-common
- linux-iot-tools-common
- linux-aws-tools-5.4.0-1009
- linux-azure-tools-5.4.0-1010
- linux-gcp-tools-5.4.0-1009
- linux-kvm-tools-5.4.0-1009
- linux-tools-5.4.0-1009-aws
- linux-tools-5.4.0-1009-gcp
- linux-tools-5.4.0-1009-kvm
- linux-tools-5.4.0-1010-azure
- linux-tools-5.4.0-26
Linux kernel version specific tools for version 5.19.0
Другие пакеты, относящиеся к linux-tools-common
- зависимости
- рекомендации
- предложения
- enhances
- dep: lsb-release Linux Standard Base version reporting utility
также виртуальный пакет, предоставляемый lsb-release-minimal
Загрузка linux-tools-common
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
all | 292,3 Кб | 756,0 Кб | [список файлов] |
This page is also available in the following languages:
Авторские права © 2023 Canonical Ltd.; См. условия лицензии. Ubuntu это торговый знак компании Canonical Ltd. Об этом сайте.
How to install «perf» monitoring tool?
When I tried it, just using sudo apt-get install linux-tools-common linux-tools-generic (skipping the part, which depends on the kernel version) was sufficient.
@Martin-R linux-tools-generic always points at the tools for the most up to date kernel version. When running an older kernel (e.g. a server with a couple months uptime) if you want perf without rebooting to the newer kernel you have to explicitly install the tools paired with that kernel (hence the uname -r shell expansion).
sudo apt-get update sudo apt-get -y install linux-tools-common linux-tools-generic linux-tools- uname -r
The perf utility can be found in the linux-tools package.
You also probably want to install linux-tools-generic since it includes kernel modules that perf interacts with.
Also, if (like me) you have HWE installed, you’ll need to install linux-tools-generic-hwe-$version ( linux-tools-generic-hwe-20.04 is what I have currently).
Make sure you are installing this tool for the right Kernel release. If you just type:
sudo apt-get install linux-tools
It will install it for the latest Linux release in your machine and in case you are booting a previous version (say for stability reason), it will err. In my case it installed for .45 instead of .43 and I had to use the following command to install it:
sudo apt-get install linux-tools-3.2.0.43
You can find your Kernel release by typing : uname -r
To make sure it’s working right you can try this: perf record /bin/ls
To get the latest version of perf irrespective of the kernel version (perf version is independent of the kernel version):
git clone --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git cd linux/tools/perf make cp perf /usr/bin
perf —version to check the current version
This is the right answer if your using a newer kenel. All the answer referring to using dpkg, and apt downloads are dependent on if dpkg repos have access to perf based on your kernel version. Running the latest Ubuntu image 21.04 with a kernel of 5.11, perf does «install» after using dpkg to download, however when trying to run perf -h you will be prompted with WARNING: perf not found for kernel 5.11.0-41 (or which ever newer kernel you have that perf is not apart of). Had to literally compile the tool from linux-tools manually.
that worked to install — but it seems to be installing a different version — it doesn’t support perf trace
In 14.04, the linux-tools package does not exist unqualified:
$ sudo apt-get install linux-tools Reading package lists. Done Building dependency tree Reading state information. Done Package linux-tools is a virtual package provided by: linux-tools-virtual 3.13.0.36.43 linux-tools-lowlatency 3.13.0.36.43 linux-tools-generic-lts-trusty 3.13.0.36.43 linux-tools-generic-lts-saucy 3.13.0.36.43 linux-tools-generic 3.13.0.36.43 You should explicitly select one to install. E: Package 'linux-tools' has no installation candidate
Instead, you can install one of the packages listed, depending upon the kernel you have installed. Most users will want linux-tools-generic .
linux-tools-common on Ubuntu 21.10 (Impish Indri)
This guide let you learn how to install linux-tools-common package:
2. Uninstall / Remove linux-tools-common package
Please follow the guidance below to uninstall linux-tools-common package:
3. Details of linux-tools-common package
Package: linux-tools-common
Architecture: all
Version: 5.13.0-22.22
Multi-Arch: foreign
Priority: optional
Section: kernel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 540
Depends: lsb-release
Filename: pool/main/l/linux/linux-tools-common_5.13.0-22.22_all.deb
Size: 295350
MD5sum: 36f1eff80ea660b039d534566896c2a6
SHA1: fe660e052fccee2d31d1a4eef8928b0cd0f6729a
SHA256: 91c245e80a64e3201107804b7e22f0b82a03ec2546d2579245f3afb4c5732bd9
SHA512: df9ede53496ebc4da959a66453203b91a9a98841dc83672a157fe7f89c2aab9031e7e05e4c9452897c1a4b8906bbe22a0515f74ba68db275db33aeb7b07933e0
Description-en: Linux kernel version specific tools for version 5.13.0
This package provides the architecture independent parts for kernel
version locked tools (such as perf and x86_energy_perf_policy) for
version 5.13.0.
Description-md5: c31acca9e38d074339516d0283ced036
Package: linux-tools-common
Architecture: all
Version: 5.13.0-21.21
Multi-Arch: foreign
Priority: optional
Section: kernel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 522
Depends: lsb-release
Filename: pool/main/l/linux/linux-tools-common_5.13.0-21.21_all.deb
Size: 277472
MD5sum: bd0eca46825b9a524870145bc37de6dd
SHA1: d4169e013dddbc6d652ee037589f04af5bb911aa
SHA256: 5759b4e7b6bd742be9b016732ad45f309dab86d0efbc9b405dfec9555f8f5402
SHA512: 32ee525b78831cb32785a91edcedb9655f7eb436a5dc02926339d07d8098754da6c4bd12b300a2f0d8c6ddf90af65bdcd210344cf49e324977d29ea22af17044
Description-en: Linux kernel version specific tools for version 5.13.0
This package provides the architecture independent parts for kernel
version locked tools (such as perf and x86_energy_perf_policy) for
version 5.13.0.
Description-md5: c31acca9e38d074339516d0283ced036
Package: linux-tools-common
Architecture: all
Version: 5.13.0-20.20
Multi-Arch: foreign
Priority: optional
Section: kernel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 514
Depends: lsb-release
Filename: pool/main/l/linux/linux-tools-common_5.13.0-20.20_all.deb
Size: 268934
MD5sum: 1edc977d4d36f988077cf3e22b7bfc61
SHA1: e0ce85cfeb86c474f2d4c1c5c74cd978fe168d08
SHA256: 57fa0915af404be7e9ed6578efdbd28d477888c54c8be96d64d3df485c33c1a4
SHA512: 003d5088a774ea5a48f222391bd135e0b284cf416aa877facd1ae98a8b77e65cc05485d949cc90b19902f8d2a5e43b349d62c384ccc6b8f615a1ee2e337bb6c3
Description-en: Linux kernel version specific tools for version 5.13.0
This package provides the architecture independent parts for kernel
version locked tools (such as perf and x86_energy_perf_policy) for
version 5.13.0.
Description-md5: c31acca9e38d074339516d0283ced036
Package: linux-tools-common
Architecture: all
Version: 5.13.0-19.19
Multi-Arch: foreign
Priority: optional
Section: kernel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 513
Depends: lsb-release
Filename: pool/main/l/linux/linux-tools-common_5.13.0-19.19_all.deb
Size: 268834
MD5sum: a52610fc9112b25d8837c2a534c42925
SHA1: 78a01a12ebe5c20065f3af9d342ed6c1fffa0e47
SHA256: 9f6fd76415d7438d8a777f603e2a3658a660c95cfa65cc82287765b8755b33a0
SHA512: d1358e13dab901983b7efa3b99333a3c7dbe24af2e387d79d6b028e5e2a41e04ce1bf8fcddf834938a28f93c04aafea49b87d129d6e475c98b63f687fa07ca2d
Description-en: Linux kernel version specific tools for version 5.13.0
This package provides the architecture independent parts for kernel
version locked tools (such as perf and x86_energy_perf_policy) for
version 5.13.0.
Description-md5: c31acca9e38d074339516d0283ced036
4. References on Ubuntu 21.10 (Impish Indri)
linux-tools-5.13.0-1010-oracle (5.13.0-1010.12)
linux-tools-5.13.0-19 (5.13.0-19.19)
linux-tools-5.13.0-20 (5.13.0-20.20)
linux-tools-5.13.0-21-generic (5.13.0-21.21)