How To Install dns-browse on Ubuntu 18.04

In this tutorial we learn how to install dns-browse on Ubuntu 18.04. dns-browse is Front-ends to DNS search

Introduction

In this tutorial we learn how to install dns-browse on Ubuntu 18.04.

What is dns-browse

dns-browse is:

This package provides two programs to make user lookups on DNS servers: dns_tree and dns_browse.

dns_tree is a command-line-based front-end to dig. It replaces the several dig invocations necessary to fetch a zone, and it formats the output in a somewhat sensible hierarchical style (a tree).

dns_browse is a GUI front-end to dns_tree. It allows point-and-click DNS browsing and makes it easy to expand/compress hierarchies in one or more DNS zones.

There are three methods to install dns-browse 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 dns-browse Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dns-browse

Install dns-browse Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dns-browse

Install dns-browse 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 dns-browse using aptitude by running the following command:

sudo aptitude -y install dns-browse

How To Uninstall dns-browse on Ubuntu 18.04

To uninstall only the dns-browse package we can use the following command:

sudo apt-get remove dns-browse

Uninstall dns-browse And Its Dependencies

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

sudo apt-get -y autoremove dns-browse

Remove dns-browse Configurations and Data

To remove dns-browse configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge dns-browse

Remove dns-browse configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dns-browse

References

Summary

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