How to Uninstall or Install gwhois Ubuntu 22.04

Updated: September 19, 2022

gwhois is a generic whois client / server. This means that it know for many (virtually all) TLDs, IP-Ranges and Handles out there where to ask. It queries other whois-servers as well as web-lookup forms. In this tutorial, I will show you how to install gwhois on Ubuntu 22.04.

Prerequisites to install

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install gwhois on Ubuntu 22.04

Install gwhois Ubuntu 22.04

gwhois is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install gwhois using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these instructions to get gwhois on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install gwhois Ubuntu by executing this command in the terminal.

sudo apt-get -y install gwhois

Install gwhois using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt install aptitude

After that, you can now install gwhois, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. You can now install gwhois Ubuntu by executing this command in the terminal.

sudo aptitude -y install gwhois

Uninstall gwhois on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

If you installed gwhois using APT or Aptitude, you could uninstall gwhois on Ubuntu by following this step:

sudo apt remove --auto-remove gwhois

To uninstall gwhois and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge gwhois

Summary

In this guide, I showed you ways to install gwhois on Ubuntu 22.04 and ways to uninstall gwhois too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.