How To Install dothost on Ubuntu 22.04
Introduction
In this tutorial we learn how to install dothost
on Ubuntu 22.04.
What is dothost
dothost is:
Dothost is a Domain Name System (DNS) lookup network utility that produces output in Graphviz format. Supported output formats are: ascii, boxart, html, svg, dot, txt, vcg, gdl, graphml, gif, jpg, pdf, png and ps. It’s a tool that display DNS records in the terminal or export to a file.
This program can help you to create DNS lookup diagrams in some formats for large networks.
Target name or IP can be used for DNS outputs. Dothost supports IPv4 and IPv6 network protocols.
There are three methods to install dothost
on Ubuntu 22.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 dothost Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install dothost
using apt-get
by running the following command:
sudo apt-get -y install dothost
Install dothost Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dothost
using apt
by running the following command:
sudo apt -y install dothost
Install dothost 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 dothost
using aptitude
by running the following command:
sudo aptitude -y install dothost
How To Uninstall dothost on Ubuntu 22.04
To uninstall only the dothost
package we can use the following command:
sudo apt-get remove dothost
Uninstall dothost And Its Dependencies
To uninstall dothost
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove dothost
Remove dothost Configurations and Data
To remove dothost
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge dothost
Remove dothost configuration, data, and all of its dependencies
We can use the following command to remove dothost
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dothost
References
Summary
In this tutorial we learn how to install dothost
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.