How To Install whois.x86_64 on Amazon Linux 2

In this tutorial we learn how to install whois.x86_64 in Amazon Linux 2. whois.x86_64 is Improved WHOIS client

Introduction

In this tutorial we learn how to install whois.x86_64 on Amazon Linux 2.

What is whois.x86_64

Searches for an object in a RFC 3912 database. This version of the WHOIS client tries to guess the right server to ask for the specified object. If no guess can be made it will connect to whois.networksolutions.com for NIC handles or whois.arin.net for IPv4 addresses and network names.

We can use yum to install whois.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install whois.x86_64.

Install whois.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install whois.x86_64 using yum by running the following command:

sudo yum -y install whois.x86_64

How To Uninstall whois.x86_64 on Amazon Linux 2

To uninstall only the whois.x86_64 package we can use the following command:

sudo yum remove whois.x86_64

whois.x86_64 Package Contents on Amazon Linux 2

/etc/whois.conf
/usr/bin/whois
/usr/bin/whois.md
/usr/share/doc/whois-5.1.1
/usr/share/doc/whois-5.1.1/COPYING
/usr/share/doc/whois-5.1.1/README
/usr/share/doc/whois-5.1.1/changelog
/usr/share/doc/whois-5.1.1/copyright
/usr/share/locale/cs/LC_MESSAGES/whois.mo
/usr/share/locale/da/LC_MESSAGES/whois.mo
/usr/share/locale/de/LC_MESSAGES/whois.mo
/usr/share/locale/el/LC_MESSAGES/whois.mo
/usr/share/locale/es/LC_MESSAGES/whois.mo
/usr/share/locale/eu/LC_MESSAGES/whois.mo
/usr/share/locale/fi/LC_MESSAGES/whois.mo
/usr/share/locale/fr/LC_MESSAGES/whois.mo
/usr/share/locale/it/LC_MESSAGES/whois.mo
/usr/share/locale/ja/LC_MESSAGES/whois.mo
/usr/share/locale/no/LC_MESSAGES/whois.mo
/usr/share/locale/pl/LC_MESSAGES/whois.mo
/usr/share/locale/pt_BR/LC_MESSAGES/whois.mo
/usr/share/locale/ru/LC_MESSAGES/whois.mo
/usr/share/locale/zh_CN/LC_MESSAGES/whois.mo
/usr/share/man/man1/whois.1.gz
/usr/share/man/man1/whois.md.1.gz
/usr/share/man/man5/whois.conf.5.gz

References

Summary

In this tutorial we learn how to install whois.x86_64 on Amazon Linux 2 using yum.