wmbattery command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wmbattery: command not found
or when using sudo you get the following error message
sudo: wmbattery: command not found
Solutions to wmbattery: command not found
How To Fix wmbattery: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wmbattery is provided by wmbattery package.
wmbattery is:
wmbattery displays the status of your laptop’s battery in a small icon. This includes if it is plugged in, if the battery is charging, how many minutes of battery life remain, and battery status (high - green, low - yellow, or critical - red).
There’s nothing in the program that makes it require WindowMaker, except maybe the look. It can be docked in WindowMaker or AfterStep’s dock.
wmbattery supports multi-battery machines, and can estimate how long it will take the battery to finish charging or discharging.
To fix this problem, we can install more using the command below.
sudo apt-get -y install wmbattery
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install wmbattery.
sudo apt -y install wmbattery
Or if you have aptitude installed you can use the following command.
sudo aptitude install wmbattery
Summary
In this tutorial we learn how to fix wmbattery command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.