How To Install nut-client on Fedora 36

In this tutorial we learn how to install nut-client in Fedora 36. nut-client is Network UPS Tools client monitoring utilities

Introduction

In this tutorial we learn how to install nut-client on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nut-client.

Install nut-client on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install nut-client using dnf by running the following command:

sudo dnf -y install nut-client

Install nut-client on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nut-client using yum by running the following command:

sudo yum -y install nut-client

How To Uninstall nut-client on Fedora 36

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

sudo dnf remove nut-client

nut-client Package Contents on Fedora 36

/etc/ups
/etc/ups/upsmon.conf
/etc/ups/upssched.conf
/lib/systemd/system-shutdown/nutshutdown
/usr/bin/upsc
/usr/bin/upscmd
/usr/bin/upsrw
/usr/bin/upssched-cmd
/usr/lib/.build-id
/usr/lib/.build-id/1c/1d8b39c9aca002d6cf31e24fa1a2494862222e
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/550b8c7c82126ddd52e41623e89346e6e711e5
/usr/lib/.build-id/49
/usr/lib/.build-id/49/2e0f3da6dd75b6f76302020415ff9d3bc172f2
/usr/lib/.build-id/af/a4dcda5b5c3bdcffc4b605d061be898e792335
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/7803b60255995cf1808466661c3a34f676b9b1
/usr/lib/.build-id/c2/2fc43ccba221316a9ab38a51e091a7116f29f9
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/c201f972c3669d87a59ef021cb698867034117
/usr/lib/python3.10/site-packages/PyNUT.py
/usr/lib/python3.10/site-packages/__pycache__/PyNUT.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/__pycache__/PyNUT.cpython-310.pyc
/usr/lib/systemd/system/nut-monitor.service
/usr/lib/tmpfiles.d/nut-client.conf
/usr/lib64/libnutclient.so.0
/usr/lib64/libnutclient.so.0.0.0
/usr/lib64/libupsclient.so.4
/usr/lib64/libupsclient.so.4.0.0
/usr/sbin/upsmon
/usr/sbin/upssched
/usr/share/licenses/nut-client
/usr/share/licenses/nut-client/COPYING
/usr/share/licenses/nut-client/LICENSE-GPL2
/usr/share/licenses/nut-client/LICENSE-GPL3
/usr/share/man/man5/upsmon.conf.5.gz
/usr/share/man/man5/upssched.conf.5.gz
/usr/share/man/man8/upsc.8.gz
/usr/share/man/man8/upscmd.8.gz
/usr/share/man/man8/upsmon.8.gz
/usr/share/man/man8/upsrw.8.gz
/usr/share/man/man8/upssched.8.gz
/usr/share/nut
/usr/share/nut/cmdvartab
/usr/share/nut/driver.list
/var/lib/ups
/var/run/nut
---
title: "How To Install nut-client on Fedora 36"
linkTitle: "nut-client"
type: "docs"
description: "In this tutorial we learn how to install nut-client in Fedora 36. nut-client is Network UPS Tools client monitoring utilities"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/nut-client-featured.png
---

## Introduction

In this tutorial we learn how to install `nut-client` on Fedora 36.

### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nut-client.

## Install nut-client on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install nut-client using dnf by running the following command:

sudo dnf -y install nut-client

Install nut-client on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nut-client using yum by running the following command:

sudo yum -y install nut-client

How To Uninstall nut-client on Fedora 36

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

sudo dnf remove nut-client

nut-client Package Contents on Fedora 36

References

Summary

In this tutorial we learn how to install nut-client on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/etc/ups /etc/ups/upsmon.conf /etc/ups/upssched.conf /lib/systemd/system-shutdown/nutshutdown /usr/bin/upsc /usr/bin/upscmd /usr/bin/upsrw /usr/bin/upssched-cmd /usr/lib/.build-id /usr/lib/.build-id/72 /usr/lib/.build-id/72/63a5ecc48874265c57c0469cd62084ae0a2973 /usr/lib/.build-id/7b/9b40d78da72ee4c58b8b17afc373b1f86bff20 /usr/lib/.build-id/9c/ea014b058bd2f7ebafe56d624ceb5731adcecf /usr/lib/.build-id/b5 /usr/lib/.build-id/b5/de2e4045f0bc87bf5f08ff7d6e9dfd98778ee5 /usr/lib/.build-id/c5/7407186190d905c979cca14ac30343043126db /usr/lib/.build-id/c5/905e75338919d55502e44433c614080f8e9118 /usr/lib/.build-id/d9 /usr/lib/.build-id/d9/deffe1143f9cd6121695fc3a824baee0c2e294 /usr/lib/libnutclient.so.0 /usr/lib/libnutclient.so.0.0.0 /usr/lib/libupsclient.so.4 /usr/lib/libupsclient.so.4.0.0 /usr/lib/python3.10/site-packages/PyNUT.py /usr/lib/python3.10/site-packages/pycache/PyNUT.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/pycache/PyNUT.cpython-310.pyc /usr/lib/systemd/system/nut-monitor.service /usr/lib/tmpfiles.d/nut-client.conf /usr/sbin/upsmon /usr/sbin/upssched /usr/share/licenses/nut-client /usr/share/licenses/nut-client/COPYING /usr/share/licenses/nut-client/LICENSE-GPL2 /usr/share/licenses/nut-client/LICENSE-GPL3 /usr/share/man/man5/upsmon.conf.5.gz /usr/share/man/man5/upssched.conf.5.gz /usr/share/man/man8/upsc.8.gz /usr/share/man/man8/upscmd.8.gz /usr/share/man/man8/upsmon.8.gz /usr/share/man/man8/upsrw.8.gz /usr/share/man/man8/upssched.8.gz /usr/share/nut /usr/share/nut/cmdvartab /usr/share/nut/driver.list /var/lib/ups /var/run/nut


## References

* [nut-client website](http://www.networkupstools.org/)

## Summary

In this tutorial we learn how to install `nut-client` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).