This step by step link was successful for the installation
http://www.tecmint.com/install-nagios-in-linux/