nmap 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
In this tutorial you will learn:
- How to install Nmap command on RHEL 8 / CentOS 8.
- How to to check Nmap version on RHEL 8 / CentOS 8.
Software Requirements and Conventions Used
|Category||Requirements, Conventions or Software Version Used|
|System||RHEL 8 / CentOS 8|
|Other||Privileged access to your Linux system as root or via the
# – requires given linux commands to be executed with root privileges either directly as a root user or by use of
$ – requires given linux commands to be executed as a regular non-privileged user
How to install nmap on RHEL 8 / CentOS 8 step by step instructions
- To install
nmapon RHEL 8 / CentOS 8 execute the following
# dnf install nmap
- Use the
--versionoption to check the installed
nmapversion and correctness of the actual
nmapinstallation. For example:
# nmap -version Nmap version 7.70 ( https://nmap.org ) Platform: x86_64-redhat-linux-gnu Compiled with: liblua-5.3.3 openssl-1.1.1 libpcre-8.42 libpcap-1.9.0-PRE-GIT nmap-libdnet-1.12 ipv6 Compiled without: libssh2 libz Available nsock engines: epoll poll select
For more information and basic
Nmap usage visit our Introduction to Nmap on Kali Linux guide.