How To Install nmap-ncat.x86_64 on Amazon Linux 2

In this tutorial we learn how to install nmap-ncat.x86_64 in Amazon Linux 2. nmap-ncat.x86_64 is Nmap’s Netcat replacement

Introduction

In this tutorial we learn how to install nmap-ncat.x86_64 on Amazon Linux 2.

What is nmap-ncat.x86_64

Ncat is a feature packed networking utility which will read and write data across a network from the command line. It uses both TCP and UDP for communication and is designed to be a reliable back-end tool to instantly provide network connectivity to other applications and users. Ncat will not only work with IPv4 and IPv6 but provides the user with a virtually limitless number of potential uses.

We can use yum to install nmap-ncat.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install nmap-ncat.x86_64.

Install nmap-ncat.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nmap-ncat.x86_64 using yum by running the following command:

sudo yum -y install nmap-ncat.x86_64

How To Uninstall nmap-ncat.x86_64 on Amazon Linux 2

To uninstall only the nmap-ncat.x86_64 package we can use the following command:

sudo yum remove nmap-ncat.x86_64

nmap-ncat.x86_64 Package Contents on Amazon Linux 2

/usr/bin/nc
/usr/bin/ncat
/usr/share/doc/nmap-ncat-6.40
/usr/share/doc/nmap-ncat-6.40/AUTHORS
/usr/share/doc/nmap-ncat-6.40/COPYING
/usr/share/doc/nmap-ncat-6.40/README
/usr/share/doc/nmap-ncat-6.40/THANKS
/usr/share/doc/nmap-ncat-6.40/examples
/usr/share/doc/nmap-ncat-6.40/examples/README
/usr/share/doc/nmap-ncat-6.40/examples/ipaccess
/usr/share/doc/nmap-ncat-6.40/examples/logs
/usr/share/doc/nmap-ncat-6.40/examples/logs/ascii-output
/usr/share/doc/nmap-ncat-6.40/examples/logs/hex-output
/usr/share/doc/nmap-ncat-6.40/examples/scripts
/usr/share/doc/nmap-ncat-6.40/examples/scripts/README
/usr/share/doc/nmap-ncat-6.40/examples/scripts/http-proxy
/usr/share/doc/nmap-ncat-6.40/examples/scripts/http-scan
/usr/share/doc/nmap-ncat-6.40/examples/scripts/http-scan/README
/usr/share/doc/nmap-ncat-6.40/examples/scripts/http-scan/get.request
/usr/share/doc/nmap-ncat-6.40/examples/scripts/http-scan/iplist
/usr/share/doc/nmap-ncat-6.40/examples/scripts/http-scan/scan-example
/usr/share/doc/nmap-ncat-6.40/examples/scripts/http-scan/scanner-output
/usr/share/man/man1/nc.1.gz
/usr/share/man/man1/ncat.1.gz

References

Summary

In this tutorial we learn how to install nmap-ncat.x86_64 on Amazon Linux 2 using yum.