How To Install theharvester on Kali Linux

In this tutorial we learn how to install theharvester on Kali Linux. theharvester is tool for gathering e-mail accounts and subdomain names from public sources

Introduction

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

What is theharvester

theharvester is:

The package contains a tool for gathering subdomain names, e-mail addresses, virtual hosts, open ports/ banners, and employee names from different public sources (search engines, pgp key servers).

There are three methods to install theharvester 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 theharvester Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install theharvester

Install theharvester Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install theharvester

Install theharvester 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 theharvester using aptitude by running the following command:

sudo aptitude -y install theharvester

How To Uninstall theharvester on Kali Linux

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

sudo apt-get remove theharvester

Uninstall theharvester And Its Dependencies

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

sudo apt-get -y autoremove theharvester

Remove theharvester Configurations and Data

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

sudo apt-get -y purge theharvester

Remove theharvester configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge theharvester

Dependencies

theharvester have the following dependencies:

References

Summary

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