Install Netcat on CentOS 8 / RHEL 8

In this article, I’m going to show how to install netcat on RHEL/CentOS 8. Let’s get started:

Table of Contents

  1. Installation
  2. Verification
  3. Usage


The nmap package contains the ncat package. If we install nmap, the ncat will be installed.

Install nmap using the command:

sudo dnf install nmap


Run this command to check ncat successfully installed or not:

ncat --version

You’ll see output like:

Ncat: Version 7.91 ( )


Reverse shell listener with Netcat:

ncat -lvnp 13629

I’ll try to show more usage later.

That’s it. Thanks for reading.

Software Engineer | Ethical Hacker & Cybersecurity...

Md Obydullah is a software engineer and full stack developer specialist at Laravel, Django, Vue.js, Node.js, Android, Linux Server, and Ethichal Hacking.