xbatmon-simple command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xbatmon-simple: command not found
or when using sudo you get the following error message
sudo: xbatmon-simple: command not found
Solutions to xbatmon-simple: command not found
How To Fix xbatmon-simple: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xbatmon-simple is provided by chiark-utils-bin package.
chiark-utils-bin is:
This package contains a number of small administration scripts used by chiark.greenend.org.uk and other systems belonging to the Sinister Greenend Organisation. Currently featuring only:
with-lock-ex: a simple tool for acquiring a lockfile before running another program or script.
summer: a tool for reporting complete details about a filesystem tree in a parseable format, including checksums.
xbatmon-simple: a very simple X client for displaying battery charge status.
xduplic-copier: a very simple X client for typing into multiple windows at once.
watershed: a utility for saving on superfluous executions of an idempotent command. (This is the same utility as shipped separately in Ubuntu’s udev, but with slightly different defaults and a different install location.)
rcopy-repeatedly: a utility for repeatedly copying a file from one host to another, to keep a copy constantly up to date.
acctdump: for reading process accounting files.
summer and watershed require the installation of the Recommended crypto libraries; xbatmon-simple needs the Suggested X libraries.
cgi-fcgi-interp: for use with cgi-fcgi as a #! interpreter
To fix this problem, we can install more using the command below.
sudo apt-get -y install chiark-utils-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install chiark-utils-bin.
sudo apt -y install chiark-utils-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install chiark-utils-bin
Summary
In this tutorial we learn how to fix xbatmon-simple command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.