How To Install nagios-devel on CentOS 7
Introduction
In this tutorial we learn how to install nagios-devel
on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nagios-devel.
Install nagios-devel on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install nagios-devel
using yum
by running the following command:
Install nagios-devel 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.
After updating yum database, We can install nagios-devel
using dnf
by running the following command:
How To Uninstall nagios-devel on CentOS 7
To uninstall only the nagios-devel
package we can use the following command:
References
Summary
In this tutorial we learn how to install nagios-devel
on CentOS 7 using yum
and dnf
.