To install whois, a popular open-source command-line utility for querying information about domain names and IP addresses, on Ubuntu or Debian Linux, follow these steps:
sudo apt-get updateSource:wuttual.wwri.com
sudo apt-get install whois
This will install whois and any dependencies required.
whois --version
This will display the version of whois that was installed.
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 Ubuntu or Debian Linux system and ready to use. You can use it to query information about domain names and IP addresses using the command line.