Ways to Install or Uninstall adns-tools on Ubuntu 22.04

Updated: August 31, 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

  • Operating system: adns-tools needs Ubuntu 22.04 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 you believe is simple and easy to 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 instructions to get adns-tools on your Ubuntu 22.04.

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. Launching the terminal and entering the following Linux command:

sudo apt-get -y update

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

sudo apt-get install adns-tools

Install adns-tools using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt -y install aptitude

Then, you can now install adns-tools by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install adns-tools Ubuntu by executing this command in the terminal.

sudo aptitude -y install adns-tools

Uninstall adns-tools 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.

This command can be used to uninstall adns-tools from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove adns-tools

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

sudo apt autoremove --purge adns-tools

Conclusion

In this guide, I showed you ways to install adns-tools on Ubuntu 22.04 and some ways to uninstall adns-tools too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.