How to Uninstall and Install adns-tools on Ubuntu 22.04

Updated: October 21, 2022

adns is a DNS resolver. In contrast with many existing interfaces, gethostbyname et al and libresolv, it can be used in an asynchronous, non-blocking manner. Many queries can be handled simultaneously. I will show you how to install adns-tools on Ubuntu 22.04 in this tutorial.

Requirements to install

  • OS: Ubuntu 22.04 is needed for adns-tools to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install adns-tools on Ubuntu 22.04

Install adns-tools Ubuntu 22.04

adns-tools is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install adns-tools using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to get adns-tools on your Ubuntu 22.04.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install adns-tools Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt -y install adns-tools

Install adns-tools using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

After installing, you can now install adns-tools, 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 download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install adns-tools Ubuntu by executing this command in the terminal.

sudo aptitude install adns-tools

Uninstall adns-tools on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just adns-tools.

You can uninstall adns-tools on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove adns-tools

If you want to uninstall adns-tools and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge adns-tools

Conclusion

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