我尝试在我的Ubuntu机器上使用cpupower命令,并得到了以下错误消息
WARNING: cpupower not found for kernel 4.6.0
You may need to install the following packages for this specific kernel:
linux-tools-4.6.0-4.6.0
linux-cloud-tools-4.6.0-4.6.0我尝试过使用linux-tools为4.6.0内核安装apt-get,但它似乎只支持4.4.0-59的版本。
有没有办法在我的Ubuntu机器上正确地运行cpupower?
发布于 2018-12-24 06:25:27
对于MX Linux,its:
sudo apt-get install linux-cpupower在MX中,您还可以打开MX包安装程序,并在整个App下搜索“cpupower”
对佐林15.2而言:
sudo apt-get install -y linux-tools-common linux-tools-$(uname -r)你也可以去Synaptic搜索linux-通用的。您还可以搜索linux工具和uname-r的输出。例如。linux-tools-5.3.0-42-generic
发布于 2022-07-01 23:16:04
几年后..。
在Ubuntu20.04.4LTS中,cpupower也有同样的问题。
我试着安装linux-tools-common、linux-tools-generic和linux-tools-oem,但没有结果。我总是收到消息
cpupower not found for kernel 5.14.0-1033我需要专门针对这个内核的linux工具。可悲的是,在synaptic package manager中没有这样的内核的踪迹。甚至命令sudo apt-get install -y linux-tools-$(uname -r)也给了我这个消息
Unable to locate package linux-tools-5.14.0-1033-oem.deb搜索Ubuntu软件包搜索的官方站点上下载linux-tools-5.14.0-1033-oem包sudo dpkg -i mypackage.deb轻松地在命令行上安装包(注意已经安装了所有依赖项;)在我的例子中,我必须安装两个软件包:首先是依赖项linux-oem-5.14-tools-5.14.0-1033_5.14.0-1033.36_amd64.deb,然后是主包linux-tools-5.14.0-1033-oem_5.14.0-1033.36_amd64.deb。
https://unix.stackexchange.com/questions/341927
复制相似问题