apcupsd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
apcupsd: command not found
or when using sudo you get the following error message
sudo: apcupsd: command not found
Solutions to apcupsd: command not found
How To Fix apcupsd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu apcupsd is provided by apcupsd package.
apcupsd is:
apcupsd provides UPS power management for APC products, including most BackUPS series models (including USB), SmartUPS V/S, SmartUPS (NET/RM), and Matrix series.
It controls and monitors the status of UPS and allows your computer to run for a specified length of time on UPS power, and then executes a controlled shutdown in the case of an extended power failure.
To fix this problem, we can install more using the command below.
sudo apt-get -y install apcupsd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install apcupsd.
sudo apt -y install apcupsd
Or if you have aptitude installed you can use the following command.
sudo aptitude install apcupsd
Summary
In this tutorial we learn how to fix apcupsd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.