Nmap from source code
Prerequisites
Fresh installation of Ubuntu 18.04
root@nmapgit:~# apt install gcc libpcap-dev libssl-dev g++ autoconf
Download sources
root@nmapgit:~# git clone https://github.com/nmap/nmap.git
Compile
root@nmapgit:~# cd nmap root@nmapgit:~/nmap# ./configure root@nmapgit:~/nmap# make root@nmapgit:~/nmap# make install
Execution
root@nmapgit:~# nmap --version Nmap version 7.80SVN ( https://nmap.org ) Platform: x86_64-unknown-linux-gnu Compiled with: nmap-liblua-5.3.5 openssl-1.1.1 nmap-libssh2-1.9.0 nmap-libz-1.2.11 nmap-libpcre-7.6 libpcap-1.8.1 nmap-libdnet-1.12 ipv6 Compiled without: Available nsock engines: epoll poll select
References
Daniel Simao 01:14, 11 November 2019 (EST)