There's more…

Installing Nmap on a Linux distribution is a different process. Most of the Linux-based operating systems have a single-step installation, using the package management utilities such as yum and apt

Ensure that the machine is connected to the internet and execute the following commands:

yum install Nmap
apt-get install Nmap