The netcat or a.k.a. ncat command is an invaluable tool for any system or network administrator. This command is not available on RHEL 8 / CentOS 8 default installation. However, it can be installed with a single dnf command.

In this tutorial you will learn:
  • How to install ncat command on RHEL 8 / CentOS 8.
  • How to to check ncat version on RHEL 8 / CentOS 8.
Ncat command on RHEL 8 Linux Server/Workstation.
Ncat command on RHEL 8 Linux Server/Workstation.

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System RHEL 8 / CentOS 8
Software Ncat: Version 7.70
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

How to install Netcat on RHEL 8 / CentOS 8 step by step instructions


$$$ Looking for LINUX ADMINISTRATOR ! $$$

BLUE SKY STUDIOS are looking for Linux Administrator to maintain and support the Studio's 450+ production Linux workstations, including daily interactions with the Studio’s digital animation artists.
LOCATION: Greenwich, Connecticut, USA

APPLY NOW

  1. The ncat package can be installed as part of the nmap package on RHEL 8 / CentOS 8 by executing the following dnf command:
    # dnf install nmap
    
  2. Use the --version option to check the installed ncat version and correctness of the actual ncat installation. For example:
    $ ncat --version
    Ncat: Version 7.70 ( https://nmap.org/ncat )
    
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.