To install nmap on a Debian Linux 9/10/11, you can use the following steps:
sudo apt update
nmap:sudo apt install nmap
This will install the latest version of nmap available in the repository.
nmap -v
This will print the version information for nmap, indicating that it is installed and working correctly.