Fyodor and the Nmap crew today have released the version 6 of the famous Network Mapper. This major release brings 600 significant improvements (see http://nmap.org/6/#changes), the top 6 are:
Nmap Scripting Engine (NSE) – 352 scripts!
Better Web Scanning
Full IPv6 Support
New Nping Tool
Better Zenmap GUI & results viewer
Faster scans
To install the latest Nmap on Ubuntu 12.04 please follow this steps, please note that I’m using Checkinstall to build the .deb package. Using CheckInstall will give 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.00.tar.bz2 bzip2 -cd nmap-6.00.tar.bz2 | tar xvf - cd nmap-6.00 ./configure make checkinstall dpkg -i nmap_6.00-1_i386.deb
To try nmap.
nmap -A scanme.nmap.org

Worked for me on 10.04.4 LTS, thanks.
However I’m not sure the dpkg step is necessary.
Hmm isn’t this a bit complicated ” bzip2 -cd nmap-6.00.tar.bz2 | tar xvf – ”
Why not ” tar xvjf nmap-6.00.tar.bz2 ” instead?
denpanosekai, if you run ” make install ” instead of ” dpkg -i “, mnap won’t be handled by the package manager. Then ubuntu doesn’t know which version that is installed (for upgrades).
Pingback: » Как установить Nmap 6 на Ubuntu 12.04 Unixzen
Hi great tip, I would like to improve yours:
Instead of use line you state as:
bzip2 -cd nmap-6.00.tar.bz2 | tar xvf -tar on Linux has an improvement since long time ago… use “-j” option for bzip2 files:
tar -jxvf nmap-6.00.tar.bz2All you did just one shot!!
Nice day to all,
Titantux
Working on Ubuntu 12.04 man, thanks man. But can I get the GUI on ubuntu ?
Thanks, it was useful to me (:
It worked for me! Very nice…Thank you!!
I followed these instructions, the install appeared to go smoothly, however, when I run the command nmap -T4 -A -v 192.168.1.1 I get the following errors:
Starting Nmap 6.25 ( http://nmap.org ) at 2013-01-21 15:28 PST
NSE: Failed to load ‘/usr/local/bin/../share/nmap/scripts/http-favicon.nse’.
NSE: Failed to load ‘/usr/local/bin/../share/nmap/scripts/ipv6-node-info.nse’.
NSE: Failed to load ‘/usr/local/bin/../share/nmap/scripts/iscsi-info.nse’.
NSE: Failed to load ‘/usr/local/bin/../share/nmap/scripts/mongodb-databases.nse’.
NSE: Failed to load ‘/usr/local/bin/../share/nmap/scripts/mongodb-info.nse’.
NSE: Failed to load ‘/usr/local/bin/../share/nmap/scripts/sip-methods.nse’.
NSE: Failed to load ‘/usr/local/bin/../share/nmap/scripts/ssh-hostkey.nse’.
NSE: Loaded 99 scripts for scanning.
NMap does the scan though, any ideas why I am getting these “Failed to load” errors? Thank you!
I get an error on checkinstall:
make: *** No rule to make target `liblua/liblua.a’, needed by `nmap’. Stop.
**** Installation failed. Aborting package creation.
Cleaning up…OK
Bye.