Hello Linux Geeksters. As you may know, Nmap is a command-line network exploration tool that supports ping scanning to determine the online hosts, port scanning techniques and TCP/IP fingerprinting for remote device identification. The latest version available is Nmap 4.46.1, which has been recently released.
In this article I will show you how to install Nmap 6.46.1 on Ubuntu 14.04 Trusty Tahr, Ubuntu 13.10 Saucy Salamander, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Linux Mint 16 Petra, Linux Mint 13 Maya and Elementary OS 0.2 Luna.
Because it is available via PPA, installing Nmap 6.46.1 on the listed Ubuntu, Linux Mint and Elementary OS systems is easy. All you have to do is add the ppa to your system, update the local repository index and install the nmap package. Like this:
$ sudo add-apt-repository ppa:pi-rho/security
$ sudo apt-get update
$ sudo apt-get install nmap
Optional, to remove nmap, do:
$ sudo apt-get remove nmap
Or, you can disable the PPA, remove nmap and downgrade all the packages updated via that PPA, do:
$ sudo apt-get install ppa-purge
$ sudo ppa-purge ppa:pi-rho/security