Ways to Uninstall and Install dnsmap Ubuntu 22.04

Updated: September 18, 2022

dnsmap scans a domain for common subdomains using a built-in or an external wordlist (if specified using -w option). The internal wordlist has around 1000 words in English and Spanish as ns1, firewall servicios and smtp. So will be possible search for smtp.example.com inside example.com automatically. Results can be saved in CSV and human-readable format for further processing. dnsmap does NOT require root privileges to be run, and should NOT be run with such privileges for security reasons. In this guide, I will show you ways to install dnsmap Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Check that you can run sudo commands.

Prerequisites to install dnsmap on Ubuntu 22.04

Install dnsmap Ubuntu 22.04

dnsmap is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install dnsmap using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get dnsmap on your Ubuntu 22.04.

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

sudo apt update

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

sudo apt-get install dnsmap

Install dnsmap using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt-get install aptitude

After installing aptitude, you can now install dnsmap, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install dnsmap Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install dnsmap

Uninstall dnsmap 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 dnsmap.

If you installed dnsmap using APT or Aptitude, you could uninstall dnsmap on Ubuntu by following this step:

sudo apt remove --auto-remove dnsmap

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

sudo apt autoremove --purge dnsmap


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