How To Install nut-powerman-pdu on Kali Linux

In this tutorial we learn how to install nut-powerman-pdu on Kali Linux. nut-powerman-pdu is network UPS tools - PowerMan PDU driver

Introduction

In this tutorial we learn how to install nut-powerman-pdu on Kali Linux.

What is nut-powerman-pdu

nut-powerman-pdu 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 powerman-pdu, which allows NUT clients to communicate with the PowerMan daemon to support PDUs.

There are three methods to install nut-powerman-pdu on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install nut-powerman-pdu Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install nut-powerman-pdu using apt-get by running the following command:

sudo apt-get -y install nut-powerman-pdu

Install nut-powerman-pdu Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nut-powerman-pdu using apt by running the following command:

sudo apt -y install nut-powerman-pdu

Install nut-powerman-pdu Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install nut-powerman-pdu using aptitude by running the following command:

sudo aptitude -y install nut-powerman-pdu

How To Uninstall nut-powerman-pdu on Kali Linux

To uninstall only the nut-powerman-pdu package we can use the following command:

sudo apt-get remove nut-powerman-pdu

Uninstall nut-powerman-pdu And Its Dependencies

To uninstall nut-powerman-pdu and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove nut-powerman-pdu

Remove nut-powerman-pdu Configurations and Data

To remove nut-powerman-pdu configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge nut-powerman-pdu

Remove nut-powerman-pdu configuration, data, and all of its dependencies

We can use the following command to remove nut-powerman-pdu configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge nut-powerman-pdu

Dependencies

nut-powerman-pdu have the following dependencies:

References

Summary

In this tutorial we learn how to install nut-powerman-pdu package on Kali Linux using different package management tools: apt, apt-get and aptitude.