Article

How to install WHOIS on Centos 7

Just for my own reference, to install WHOIS client on your Centos 7 server, you need to do some extra step. A simple yum install whois or yum install jwhois could not work, as you could get the following error: No package jwhois available.

So, in order to be able to install WHOIS, type the following command:

yum whatprovides *bin/whois*

The response will be:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.checkdomain.de
 * epel: mirrors.n-ix.net
 * extras: mirror.checkdomain.de
 * updates: mirror.checkdomain.de
base/7/x86_64/filelists_db                               | 5.8 MB     00:00
whois-5.1.1-2.el7.x86_64 : Improved WHOIS client
Repo        : base
Matched from:
Filename    : /usr/bin/whois.md
Filename    : /usr/bin/whois
 
Then type:
 
 
yum install whois
 
And you should get it OK:
 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.checkdomain.de
 * epel: mirrors.n-ix.net
 * extras: mirror.checkdomain.de
 * updates: mirror.checkdomain.de
Resolving Dependencies
--> Running transaction check
---> Package whois.x86_64 0:5.1.1-2.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
================================================================================
 Package         Arch             Version                  Repository      Size
================================================================================
Installing:
 whois           x86_64           5.1.1-2.el7              base            72 k
 
Transaction Summary
================================================================================
Install  1 Package
 
Total download size: 72 k
Installed size: 222 k
Is this ok [y/d/N]: y
Downloading packages:
whois-5.1.1-2.el7.x86_64.rpm                               |  72 kB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : whois-5.1.1-2.el7.x86_64                                     1/1
  Verifying  : whois-5.1.1-2.el7.x86_64                                     1/1
 
Installed:
  whois.x86_64 0:5.1.1-2.el7
 
Complete!
 
Enjoy using whois app!
 

Rate this article: 

Average: 5 (2 votes)

Category: 

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
 

Portfolio

Samples of work done for me or my customers, for free or not, like websites, repairs, photography etc.
View all my recent work

 

Tutorials

I'm giving away some knowledge in my areas of expertise. Did you like something here? Share it please!
View all tutorials

 

Snippets

Useful Linux commands or other code snippets I often use.
View my useful shortcuts

 

Resources

Few bookmarks I find useful. Do you want website here? Give me a good reason and I can help you.
View my favourite web resources

About me

Hi there! My name is Marius Cârneală.

About me?

Loving husband, dad of two, drone pilot, web designer and administrator, SEO specialist, IT support guy, electronic hobbyist and content writer. This list is open.