Install Netcat on CentOS 8 / RHEL 8

Last modified on July 4, 2021 19 sec read

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. 🙂

Monthly Newsletter

One email a month, packed with the latest tutorials, delivered straight to your inbox.
We'll never send any spam or promotional emails.

Hey, I'm Md Obydullah. I build open-source projects and write article on Laravel, Linux server, modern JavaScript and more on web development.