upower command not found

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

Introduction

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

upower: command not found

or when using sudo you get the following error message

sudo: upower: command not found

Solutions to upower: command not found

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

In Ubuntu upower is provided by upower package.

upower is:

upower provides an interface to enumerate power sources on the system and control system-wide power management. Any application can access the org.freedesktop.UPower service on the system message bus. Some operations (such as suspending the system) are restricted using PolicyKit.

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

sudo apt-get -y install upower

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

You can also use apt command to install upower.

sudo apt -y install upower

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

sudo aptitude install upower

Summary

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