Compiling Nagios from source code manually
This section describes the steps that the automated script performs and looks into the compilation process in more details.
This section is also meant to help troubleshooting errors with the automated script and explains more about how Nagios and Nagios plugins can be compiled and various options that can be used to change how and where they are compiled.
If you already have a setup running and are not interested in the details of how Nagios is installed, you may continue to the Running Nagios using virtualizations section, which describes how Nagios can be run inside a container or virtual machine.
Building Nagios from sources requires a C compiler, standard C library development ...