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 default installation. However, it can be installed with a single dnf command.

In this tutorial you will learn:
  • How to install ncat command on Redhat 8.
  • How to to check ncat version on Redhat 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 Red Hat Enterprise Linux 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 Redhat 8 step by step instructions



  1. The ncat command can be installed as part of the nmap package on Red Hat Enterprise Linux 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.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions