I am running Ubuntu 16.04, and I am trying to install the latest nmap. I have a C compiler installed.
I ran openssl version and found that this version was installed:
OpenSSL 1.0.2g 1 Mar 2016
I downloaded nmap 7.31 as a .bz2 file. I decompressed it. I ran the ./configure utility like this:
./configure --with-openssl=/usr/bin/openssl
I received this message:
... configure: error: Your version of OpenSSL does not support
SHA-256. Please install OpenSSL 0.9.8 or later. configure: error:
./configure failed for nping
I ran whereis openssl and the result of the command confirmed my location was correct. If I run ./configure by itself, I get a warning about compiling nmap without openssl.
WARNING: You are compiling without OpenSSL
I try to use make afterward that and get
make The program 'make' can be found in the following packages: *
make * make-guile Try: apt install <selected package>
If I try apt install, I get the local network nmap installation. I do not want that. I tried gmake, but I got this No command 'gmake' found.
How do I install the latest nmap utility? I cannot run ./configure with the explicit designation of the OpenSSL location. I cannot run make after a normal "./configure" run.