pwmconfig command not found

In this troubleshooting guide we learn how to fix pwmconfig command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pwmconfig: command not found

or when using sudo you get the following error message

sudo: pwmconfig: command not found

Solutions to pwmconfig: command not found

How To Fix pwmconfig: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pwmconfig is provided by fancontrol package.

fancontrol is:

Lm-sensors is a hardware health monitoring package for Linux. It allows you to access information from temperature, voltage, and fan speed sensors. It works with most newer systems.

This package contains a daemon that calculates fan speeds from temperatures and sets the corresponding PWM outputs to the computed values. This is useful when this feature is not provided by the BIOS or ACPI, which should normally be the case on a laptop.

To fix this problem, we can install more using the command below.

sudo apt-get -y install fancontrol

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install fancontrol.

sudo apt -y install fancontrol

Or if you have aptitude installed you can use the following command.

sudo aptitude install fancontrol

Summary

In this tutorial we learn how to fix pwmconfig command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.