How to install nmap on a Debian Linux 9/10/11

To install nmap on a Debian Linux 9/10/11 system, you need to use the package manager apt. Here’s the process to install nmap:

  1. Update the package index:
sudo apt update
  1. Install nmap:
sudo apt install nmap

This will install nmap and any other packages it depends on. After the installation is complete, you can use the nmap command to scan networks and hosts.

If you want to install a specific version of nmap, you can specify the version number in the apt install command. For example:

sudo apt install nmap=7.01-6+deb9u5

In this example, nmap=7.01-6+deb9u5 specifies the version of nmap you want to install.

Leave a Comment