Sponsors

Install whois On CentOS Linux Using Yum Package Manager

Earlier today I needed to lookup the origin of some IP’s and I typically use whois but it wasn’t installed on the CentOS server I was working on. Attempting to install whois failed so below there is information on installing whois using the yum package manager on CentOS.

whois Not Installed On CentOS Linux:

[root@dev ~]# whois
-bash: whois: command not found

Above you can see that the whois command is not currently installed on this CentOS Linux server. Below we describe how to use yum to search for what package installs whois and then we install the correct package.

Use yum whatprovides To See What Installs A Specific Application On CentOS: