powerprofilesctl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
powerprofilesctl: command not found
or when using sudo you get the following error message
sudo: powerprofilesctl: command not found
Solutions to powerprofilesctl: command not found
How To Fix powerprofilesctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu powerprofilesctl is provided by power-profiles-daemon package.
power-profiles-daemon is:
power-profiles-daemon offers to modify system behaviour based upon user-selected power profiles. There are 3 different power profiles, a “balanced” default mode, a “power-saver” mode, as well as a “performance” mode. The first 2 of those are available on every system. The “performance” mode is only available on select systems and is implemented by different “drivers” based on the system or systems it targets.
In addition to those 2 or 3 modes (depending on the system), “actions” can be hooked up to change the behaviour of a particular device. For example, this can be used to disable the fast-charging for some USB devices when in power-saver mode.
Note that power-profiles-daemon does not save the currently active profile across system restarts and will always start with the “balanced” profile selected.
To fix this problem, we can install more using the command below.
sudo apt-get -y install power-profiles-daemon
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install power-profiles-daemon.
sudo apt -y install power-profiles-daemon
Or if you have aptitude installed you can use the following command.
sudo aptitude install power-profiles-daemon
Summary
In this tutorial we learn how to fix powerprofilesctl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.