How To Install gresolver on Ubuntu 18.04

In this tutorial we learn how to install gresolver on Ubuntu 18.04. gresolver is graphical tool for performing DNS queries

Introduction

In this tutorial we learn how to install gresolver on Ubuntu 18.04.

What is gresolver

gresolver is:

GResolver is a GTK+ graphical tool for DNS queries. It allows system administrators to quickly and easily make the most common DNS queries without constructing lengthy dig commands or nslookup.

GResolver supports all the main resource record types, including AAAA, AXFR, MX and TXT, and the appropriate in-addr.arpa address is constructed from dotted-quad IP addresses when doing PTR queries. There are checkboxes for controlling the most commonly-used options.

There are three methods to install gresolver on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gresolver Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gresolver using apt-get by running the following command:

sudo apt-get -y install gresolver

Install gresolver Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gresolver using apt by running the following command:

sudo apt -y install gresolver

Install gresolver Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install gresolver using aptitude by running the following command:

sudo aptitude -y install gresolver

How To Uninstall gresolver on Ubuntu 18.04

To uninstall only the gresolver package we can use the following command:

sudo apt-get remove gresolver

Uninstall gresolver And Its Dependencies

To uninstall gresolver and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove gresolver

Remove gresolver Configurations and Data

To remove gresolver configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gresolver

Remove gresolver configuration, data, and all of its dependencies

We can use the following command to remove gresolver configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gresolver

References

Summary

In this tutorial we learn how to install gresolver package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.