How To Install zmap on CentOS 7

In this tutorial we learn how to install zmap on CentOS 7. zmap is Network scanner for Internet-wide network studies

Introduction

In this tutorial we learn how to install zmap on CentOS 7.

What is zmap

ZMap is an open-source network scanner that enables researchers to easily perform Internet-wide network studies. With a single machine and a well provisioned network uplink, ZMap is capable of performing a complete scan of the IPv4 address space in under 45 minutes, approaching the theoretical limit of gigabit Ethernet. ZMap can be used to study protocol adoption over time, monitor service availability, and help us better understand large systems distributed across the Internet. ========== WARNING ========== While ZMap is a powerful tool for researchers, please keep in mind that by running ZMap, you are potentially scanning the ENTIRE IPv4 address space and some users may not appreciate your scanning. We encourage ZMap users to respect requests to stop scanning and to exclude these networks from ongoing scanning.

We can use yum or dnf to install zmap on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install zmap.

Install zmap on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install zmap using yum by running the following command:

sudo yum -y install zmap

Install zmap on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install zmap using dnf by running the following command:

sudo dnf -y install zmap

How To Uninstall zmap on CentOS 7

To uninstall only the zmap package we can use the following command:

sudo dnf remove zmap

References

Summary

In this tutorial we learn how to install zmap on CentOS 7 using yum and dnf.