How To Install subfinder on Kali Linux

In this tutorial we learn how to install subfinder on Kali Linux. subfinder is subdomain discovery tool

Introduction

In this tutorial we learn how to install subfinder on Kali Linux.

What is subfinder

subfinder is:

This package contains a subdomain discovery tool that discovers valid subdomains for websites by using passive online sources. It has a simple modular architecture and is optimized for speed. subfinder is built for doing one thing only - passive subdomain enumeration, and it does that very well.

There are three methods to install subfinder on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install subfinder Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install subfinder using apt-get by running the following command:

sudo apt-get -y install subfinder

Install subfinder Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install subfinder using apt by running the following command:

sudo apt -y install subfinder

Install subfinder Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install subfinder using aptitude by running the following command:

sudo aptitude -y install subfinder

How To Uninstall subfinder on Kali Linux

To uninstall only the subfinder package we can use the following command:

sudo apt-get remove subfinder

Uninstall subfinder And Its Dependencies

To uninstall subfinder and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove subfinder

Remove subfinder Configurations and Data

To remove subfinder configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge subfinder

Remove subfinder configuration, data, and all of its dependencies

We can use the following command to remove subfinder configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge subfinder

Dependencies

subfinder have the following dependencies:

References

Summary

In this tutorial we learn how to install subfinder package on Kali Linux using different package management tools: apt, apt-get and aptitude.