powertop command not found

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

Introduction

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

powertop: command not found

or when using sudo you get the following error message

sudo: powertop: command not found

Solutions to powertop: command not found

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

In Ubuntu powertop is provided by powertop package.

powertop is:

PowerTOP is a Linux tool to diagnose issues with power consumption and power management. In addition to being a diagnostic tool, PowerTOP also has an interactive mode you can use to experiment with various power management settings, for cases where the Linux distribution has not enabled those settings.

PowerTOP reports which components in the system are most likely to blame for higher-than-needed power consumption, ranging from software applications to active components in the system. Detailed screens are available for CPU C and P states, device activity, and software activity.

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

sudo apt-get -y install powertop

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

You can also use apt command to install powertop.

sudo apt -y install powertop

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

sudo aptitude install powertop

Summary

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