

Now to verify the Nmap installation and to check the installed version, issue the below command in Terminal: $ nmap -version Remove Nmap Once Nmap is installed, you will see the following lines at the end of the output. Now, install Nmap using the command below in Terminal: $ sudo make install Issue the make command to build Nmap software. If the configuration is successful, you will see the following view on your Terminal.ĥ. If it shows any error then you will have to go back and install the missing prerequisites. Then run the configure script to check if the system has all the prerequisites for installing the software. Navigate to the extracted directory using the cd command as follows: $ cd nmap-7.91/

#UBUNTU INSTALL ZENMAP ARCHIVE#
Extract the tar.bz2 archive using the below command in Terminal: $ tar xf nmap-7.91.tar.bz2Ĥ. Visit Nmap official Downloads page and download Nmap latest version in tar.bz2 format or use the following command to download the currently available latest version 7.9.1: $ wget ģ. This package contains the necessary packages required to compile source code.Ģ.

Issue the command below in Terminal to do so: $ sudo apt install build-essential First, install the build-essential package. Use this procedure if you want to have the latest version of Nmap.ġ. Nmap can be installed by downloading and compiling the source code. You can also use the below command to check the version of Nmap on your system if you later need to do so: $ nmap -version Installing Nmap via Ubuntu Source Code The above output shows Nmap version 7.91 has been successfully installed on our machine. Nmap installation will start and, once completed, the following output will be displayed: Install Nmap snap package using the below command in Terminal: $ sudo snap install nmap Once snapd is installed, proceed to the next step.Ģ. Use the below command to install snapd on your system: $ sudo apt install snapd To install Nmap via snap, you first have to install snapd tool on your system.

Nmap is also available as a snap package for Ubuntu OS. The following output verifies that Nmap version 7.80 has been installed on our system. Once completed, you can use the below command to verify the installation and to check the version of Nmap: $ nmap -version The installation will take a while based on your internet speed. To carry on, type y and after that press Enter. Then install Nmap as follows: $ sudo apt install nmapĮnter the sudo password and then you will be prompted to confirm if you want to proceed with the installation.
#UBUNTU INSTALL ZENMAP UPDATE#
Update repository index using this command: $ sudo apt updateĢ. You can install Nmap on Ubuntu using the apt command. You should have sudo or root privileges if you want to install Nmap on your Ubuntu system. Note: The installation procedures shown here have been tested on Ubuntu 20.04 LTS system.
#UBUNTU INSTALL ZENMAP HOW TO#
This guide is about how to install Nmap on the Ubuntu system. Network administrators use Nmap to identify hosts, OS, services, and vulnerabilities on your network. It works by sending raw IP packets and then listens for responses to determine which ports are open or closed. It is a free tool mostly used for port scanning. Nmap (Network Mapper) is used by Network administrators for security scanning and network discovery.
