cpufreq-info command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cpufreq-info: command not found
or when using sudo you get the following error message
sudo: cpufreq-info: command not found
Solutions to cpufreq-info: command not found
How To Fix cpufreq-info: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cpufreq-info is provided by cpufrequtils package.
cpufrequtils is:
This package contains two utilities for inspecting and setting the CPU frequency through both the sysfs and procfs CPUFreq kernel interfaces.
By default, it also enables CPUFreq at boot time if the correct CPU driver is found.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cpufrequtils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cpufrequtils.
sudo apt -y install cpufrequtils
Or if you have aptitude installed you can use the following command.
sudo aptitude install cpufrequtils
Summary
In this tutorial we learn how to fix cpufreq-info command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.