nut-scanner command not found

In this troubleshooting guide we learn how to fix nut-scanner command not found error message

Introduction

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

nut-scanner: command not found

or when using sudo you get the following error message

sudo: nut-scanner: command not found

Solutions to nut-scanner: command not found

How To Fix nut-scanner: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nut-scanner is provided by nut-server package.

nut-server is:

Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share uninterruptible power supply (UPS) and power distribution unit (PDU) hardware. Clients access the hardware through the server, and are notified whenever the power status changes.

This package provides NUT’s core system, and the serial and USB UPS drivers.

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

sudo apt-get -y install nut-server

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

You can also use apt command to install nut-server.

sudo apt -y install nut-server

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

sudo aptitude install nut-server

Summary

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