upsrw command not found

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

Introduction

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

upsrw: command not found

or when using sudo you get the following error message

sudo: upsrw: command not found

Solutions to upsrw: command not found

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

In Ubuntu upsrw is provided by nut-client package.

nut-client 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 clients that allows the user to control and monitor the UPS.

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

sudo apt-get -y install nut-client

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

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

sudo apt -y install nut-client

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

sudo aptitude install nut-client

Summary

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