How to install Zenmap Nmap GUI on Ubuntu 20.04 LTS

What is the difference between Nmap and Zenmap?

In simple words, the Zenmap is a graphical user interface developed for “Nmap“, a tool that we use on the command line terminal for scanning ports and networks. However, it could be difficult and cumbersome even for experienced users to use the command line for every small task, thus, in such scenarios, the Zenmap not only helps a lot but also expands the network tool with additional functions. It cross-platform GUI (Graphical User Interface) and make it very easy for beginners to use Nmap.

When we install Zenmap it also adds the network driver WinPcap that programs such as Nmap and Wireshark need. If you don’t have any idea about Nmap, then it is a tool usually used by network security experts to analyze open ports over a network of a computer. It is a very powerful program.

The Network Mapper or Nmap is particularly suitable for finding out all active hosts in the network environment (ping sweeps) as well as their operating system (OS fingerprinting) and version numbers of various services installed there.

Therefore, the only key difference between them is the GUI, Nmap is a command-line tool and to use it graphically we can install  Zenmap, and that we are going to do here on Ubuntu 20.04 LTS.

Install ZenMap on Ubuntu 20.04 LTS Focal Linux

As Zenmap is not available anymore in the official repository of Ubuntu, thus we have to download and install it manually.

Update system

Run the system update command that will rebuild apt-cache and also update the already installed packages of our system.

sudo apt update

Install Nmap

Although while installing Zenamp, the Nmap would already be there, however, for those who want to try it out using the command line, installing it would be a nice idea.

sudo apt install nmap

Install Python GTK

Zenmap uses Python GTK for creating a graphical user interface, thus we have to install that as well on our Ubuntu 20.04 system before going forward.

wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb

sudo apt install ./python-gtk2_2.24.0-6_amd64.deb

Download and install Zenmap debian packge

As we are doing this manually, the current available Debian package for installation is zenmap v 7.8, here we are downloading that using the below command:

wget http://archive.ubuntu.com/ubuntu/pool/universe/n/nmap/zenmap_7.80+dfsg1-1build1_all.deb

Now install it…

sudo apt install ./zenmap_7.80+dfsg1-1build1_all.deb

Run Zenmap as the root user

To access all the features, the Zenmap needs to be run as a root user, therefore on your command terminal simply type:

sudo zenmap

Updated Version

In case you want the current updated version of the Zenmap which is available on the official website of Nmap but in the RMP package format. Therefore, to use it on Debian-based systems, first, we have to convert the RMP package to Deb and for that, we can use the Alien tool.

Install alien

sudo apt install alien

Convert Zenmap RPM to Deb package

Go to the official website of Nmap and download the Zenmap rpm package. You can also use wget tool along with the link of the Package available on the website,  in case want to download using the terminal.

Convert Zenmap RPM package to Ubuntu Debian

For example, while doing the article the latest version was 7.91. If you have downloaded using the browser then it will be in the Downloads folder.

cd Downloads

check it

ls

After that use the alien command to convert it.

sudo alien zenmap-7.91-1.noarch.rpm

Now, you will have the Deb file at the same location, now install it.

sudo apt install ./zenmap_7.91-2_all.deb

Install updated version of nmap and zenmap on Ubuntu 20.04

That’s it… you will have the latest version of Zenmap on your Ubuntu 20.04 LTS to run and scan the network.¬† For a network scan, simply enter the IP address or the hostname. From the profile dropdown box, the user can choose between several types of scans such as full scan, simple scan, or ping scan to check the availability of a computer. In the Nmap output window given on the right side, you can see the individual steps in Nmap.

For more information on how to use Zenmap, see the official guide.

 

install zenmap gui on ubuntu 20.04 LTS

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.