fdpowermon command not found

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

Introduction

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

fdpowermon: command not found

or when using sudo you get the following error message

sudo: fdpowermon: command not found

Solutions to fdpowermon: command not found

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

In Ubuntu fdpowermon is provided by fdpowermon package.

fdpowermon is:

fdpowermon is a simple perl script that installs an icon in a system tray compatible with the freedesktop.org specification.

Every three seconds, fdpowermon calls acpi to find out what the current battery level is. It will set the output of the acpi command as a tooltip text, and will update the used icon as appropriate.

In addition, fdpowermon can optionally call perl subroutines when the power reaches a given level. No such subroutines are provided or enabled by default, however.

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

sudo apt-get -y install fdpowermon

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

You can also use apt command to install fdpowermon.

sudo apt -y install fdpowermon

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

sudo aptitude install fdpowermon

Summary

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