How to Install and Uninstall dnsrecon on Ubuntu 22.04

Updated: September 18, 2022

DNSRecon is a Python script that provides the ability to perform: In this guide, I will show you how to install dnsrecon on Ubuntu 22.04.

Prerequisites

  • Operating system: dnsrecon needs Ubuntu 22.04 to work
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install dnsrecon on Ubuntu 22.04

Install dnsrecon Ubuntu 22.04

dnsrecon 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 dnsrecon using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get dnsrecon on your Ubuntu 22.04.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt-get -y update

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

sudo apt-get install dnsrecon

Install dnsrecon using Aptitude

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

sudo apt-get -y install aptitude

Then, you can now install dnsrecon by following these steps:

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

sudo apt-get update

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

sudo aptitude install dnsrecon

Uninstall dnsrecon 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 dnsrecon using APT or Aptitude, you could uninstall dnsrecon on Ubuntu by running this command

sudo apt remove --auto-remove dnsrecon

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

sudo apt autoremove --purge dnsrecon

Conclusion

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