How to Install the Latest Version of Nmap on Ubuntu 12.04
To install the latest Nmap on Ubuntu 12.04 follow this steps, please note that I’m using CheckInstall to build the .deb package. Using CheckInstall gives an easy way to install or remove the files from the file system.
apt-get install build-essential checkinstall wget http://nmap.org/dist/nmap-6.47.tar.bz2 bzip2 -cd nmap-6.47.tar.bz2 | tar xvf - cd nmap-6.47 ./configure make checkinstall dpkg -i nmap_6.47-1_i386.deb