How To Install nut-client on CentOS 7
Introduction
In this tutorial we learn how to install nut-client
on CentOS 7.
What is nut-client
This package includes the client utilities that are required to monitor a ups that the client host has access to, but where the UPS is physically attached to a different computer on the network.
We can use yum
or dnf
to install nut-client
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nut-client.
Install nut-client on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install nut-client
using yum
by running the following command:
sudo yum -y install nut-client
Install nut-client on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install nut-client
using dnf
by running the following command:
sudo dnf -y install nut-client
How To Uninstall nut-client on CentOS 7
To uninstall only the nut-client
package we can use the following command:
sudo dnf remove nut-client
References
Summary
In this tutorial we learn how to install nut-client
on CentOS 7 using yum
and dnf
.