Ways to Install or Uninstall dnsenum Ubuntu 22.04

Updated: September 18, 2022

Dnsenum is a multithreaded perl script to enumerate DNS information of a domain and to discover non-contiguous ip blocks. The main purpose of Dnsenum is to gather as much information as possible about a domain. The program currently performs the following operations: I will show you how to install dnsenum on Ubuntu 22.04 in this tutorial.

Requirements

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Check that you can run sudo commands.

Prerequisites to install dnsenum on Ubuntu 22.04

Install dnsenum Ubuntu 22.04

dnsenum 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 dnsenum 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 dnsenum on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. You can now install dnsenum Ubuntu by executing this command in the terminal.

sudo apt install dnsenum

Install dnsenum 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 -y install aptitude

After that, you can now install dnsenum, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt -y update

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

sudo aptitude -y install dnsenum

Uninstall dnsenum on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

If you installed dnsenum using APT or Aptitude, you could uninstall dnsenum on Ubuntu by running this command

sudo apt remove --auto-remove dnsenum

If you want to uninstall dnsenum and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge dnsenum

Summary

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