How to Install Nmap 7.12 on Debian, Elementary OS, Ubuntu and Linux Mint (Ubuntu Derivative System)

How to Install Nmap 7.12 on Debian 8 Jessie, Debian 7, Ubuntu 16.04 Xenial Xerus, Ubuntu 15.10 Wily Werewolf, Ubuntu 15.04 vivid Vervet, ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS) and Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Elementary OS 0.2 and Elementary OS 0.3 via PPA


Nmap is an open source and cross-platform software that provides users with one of the most powerful network discovery and security auditing utility appreciated by numerous system administrators and security professionals around the world.

Features at a glance

Key features include the ability to monitor service and host uptime, manage service upgrade schedules, do network inventory, discover available hosts on a network based on raw IP packets, as well as to discover running services and operating systems on a specific network.

In addition, it supports a wide range of advanced network mapping techniques, including ping sweeps, TCP/UDP port scanning mechanisms, as well as the ability to scan networks of hundreds of thousands of computers.



Changelog Nmap 7.12 :

  • [Zenmap] Avoid file corruption in zenmap.conf, reported as files containing many null ("\x00") characters. Example exceptions:
  • TypeError: int() argument must be a string or a number, not 'list'
  • ValueError: unable to parse colour specification
  • [NSE] VNC updates including vnc-brute support for TLS security type and negotiating a lower RFB version if the server sends an unknown higher version. [Daniel Miller]
  • [NSE] Added STARTTLS support for VNC, NNTP, and LMTP [Daniel Miller]
  • Added new service probes and match lines for OpenVPN on UDP and TCP.




How to Install Nmap 7.12 on Debian, Elementary OS, Ubuntu and Linux Mint (Ubuntu Derivative System) :

To install and update Nmap 7.12 on Debian 8, Debian 7, Ubuntu 16.04 Xenial Xerus, Ubuntu 15.10 wily werewolf, Ubuntu 15.04 vivid Vervet, ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS), Linux Mint 17.1, Linux Mint 17.2, Linux Mint 17.3 and other Ubuntu derivative systems, open a new Terminal window and bash (get it?) in the following commands:

Download :
wget https://nmap.org/dist/nmap-7.12.tar.bz2

Extract Tarball :
bzip2 -cd nmap-7.12.tar.bz2 | tar xvf -


Move to folder nmap :
cd nmap-7.12

Configure and Install :
./configure 
make  
sudo su
make install

after you installed nmap, check your nmap version. open terminal and follow the command :
sudo su
nmap --version

Compile Prosses, like this :