How To Install nsca-client on Rocky Linux 8

In this tutorial we learn how to install nsca-client on Rocky Linux 8. nsca-client is Client application for sending updates to a nsca server

Introduction

In this tutorial we learn how to install nsca-client on Rocky Linux 8.

What is nsca-client

Client application for sending updates to a nsca server.

We can use yum or dnf to install nsca-client on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nsca-client.

Install nsca-client on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install nsca-client

Install nsca-client on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install nsca-client

How To Uninstall nsca-client on Rocky Linux 8

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

sudo dnf remove nsca-client

nsca-client Package Contents on Rocky Linux 8

/etc/nagios/send_nsca.cfg
/usr/lib/.build-id
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/e01b1eab264fe48df9c73887cf444dc0cbf8fb
/usr/sbin/send_nsca
/usr/share/doc/nsca-client
/usr/share/doc/nsca-client/CHANGELOG.md
/usr/share/doc/nsca-client/CONTRIBUTORS.md
/usr/share/doc/nsca-client/README.md
/usr/share/doc/nsca-client/SECURITY.md
/usr/share/licenses/nsca-client
/usr/share/licenses/nsca-client/LICENSE.md

References

Summary

In this tutorial we learn how to install nsca-client on Rocky Linux 8 using yum and dnf.