Install libcpufreq-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libcpufreq-dev
Description:
development files to deal with the cpufreq Linux kernel feature
This package provides everything that is needed for developing own programs using libcpufreq.
Homepage: http://kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
Version: 008-1build1
Section: universe/libdevel