How To Install nagios-devel on Rocky Linux 8

In this tutorial we learn how to install nagios-devel on Rocky Linux 8. nagios-devel is Provides include files that Nagios-related applications may compile against

Introduction

In this tutorial we learn how to install nagios-devel on Rocky Linux 8.

What is nagios-devel

Nagios is a program that will monitor hosts and services on your network. It has the ability to email or page you when a problem arises and when a problem is resolved. Nagios is written in C and is designed to run under Linux (and some other *NIX variants) as a background process, intermittently running checks on various services that you specify. This package provides include files that Nagios-related applications may compile against.

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

Install nagios-devel 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 nagios-devel using dnf by running the following command:

sudo dnf -y install nagios-devel

Install nagios-devel 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 nagios-devel using yum by running the following command:

sudo yum -y install nagios-devel

How To Uninstall nagios-devel on Rocky Linux 8

To uninstall only the nagios-devel package we can use the following command:

sudo dnf remove nagios-devel

nagios-devel Package Contents on Rocky Linux 8

/usr/include/nagios
/usr/include/nagios/archivejson.h
/usr/include/nagios/archiveutils.h
/usr/include/nagios/broker.h
/usr/include/nagios/cgiauth.h
/usr/include/nagios/cgiutils.h
/usr/include/nagios/comments.h
/usr/include/nagios/common.h
/usr/include/nagios/defaults.h
/usr/include/nagios/downtime.h
/usr/include/nagios/getcgi.h
/usr/include/nagios/jsonutils.h
/usr/include/nagios/lib
/usr/include/nagios/lib/bitmap.h
/usr/include/nagios/lib/dkhash.h
/usr/include/nagios/lib/fanout.h
/usr/include/nagios/lib/iobroker.h
/usr/include/nagios/lib/iocache.h
/usr/include/nagios/lib/kvvec.h
/usr/include/nagios/lib/libnagios.h
/usr/include/nagios/lib/lnag-utils.h
/usr/include/nagios/lib/nsock.h
/usr/include/nagios/lib/nspath.h
/usr/include/nagios/lib/nsutils.h
/usr/include/nagios/lib/nwrite.h
/usr/include/nagios/lib/pqueue.h
/usr/include/nagios/lib/runcmd.h
/usr/include/nagios/lib/skiplist.h
/usr/include/nagios/lib/snprintf.h
/usr/include/nagios/lib/squeue.h
/usr/include/nagios/lib/t-utils.h
/usr/include/nagios/lib/worker.h
/usr/include/nagios/locations.h
/usr/include/nagios/logging.h
/usr/include/nagios/macros.h
/usr/include/nagios/nagios.h
/usr/include/nagios/nebcallbacks.h
/usr/include/nagios/neberrors.h
/usr/include/nagios/nebmods.h
/usr/include/nagios/nebmodules.h
/usr/include/nagios/nebstructs.h
/usr/include/nagios/netutils.h
/usr/include/nagios/objectjson.h
/usr/include/nagios/objects.h
/usr/include/nagios/perfdata.h
/usr/include/nagios/shared.h
/usr/include/nagios/sretention.h
/usr/include/nagios/statusdata.h
/usr/include/nagios/statusjson.h
/usr/include/nagios/workers.h
/usr/lib64/nagios/libnagios.a

References

Summary

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