How to install whois on RHEL 8 / CentOS 8

How to install whois on RHEL 8 / CentOS 8

To install whois, a popular open-source command-line utility for querying information about domain names and IP addresses, on Red Hat Enterprise Linux (RHEL) 8 or CentOS 8, follow these steps:

  1. Update the package manager's package list by running the following command:
sudo dnf update
Source:‮ttual.www‬uri.com
  1. Install whois by running the following command:
sudo dnf install whois

This will install whois and any dependencies required.

  1. To verify that the installation was successful, run the following command:
whois --version

This will display the version of whois that was installed.

  1. To query information about a domain name or IP address using whois, use the following syntax:
whois <domain name or IP address>

Replace <domain name or IP address> with the domain name or IP address you want to query.

That's it! Whois is now installed on your RHEL 8 or CentOS 8 system and ready to use. You can use it to query information about domain names and IP addresses using the command line.

Created Time:2017-10-16 14:38:50  Author:lautturi