How To Install arp-scan on Kali Linux

In this tutorial we learn how to install arp-scan on Kali Linux. arp-scan is arp scanning and fingerprinting tool

Introduction

In this tutorial we learn how to install arp-scan on Kali Linux.

What is arp-scan

arp-scan is:

arp-scan is a command-line tool that uses the ARP protocol to discover and fingerprint IP hosts on the local network. It is available for Linux and BSD under the GPL licence

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

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

sudo apt-get update

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

sudo apt-get -y install arp-scan

Install arp-scan Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install arp-scan

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

sudo aptitude -y install arp-scan

How To Uninstall arp-scan on Kali Linux

To uninstall only the arp-scan package we can use the following command:

sudo apt-get remove arp-scan

Uninstall arp-scan And Its Dependencies

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

sudo apt-get -y autoremove arp-scan

Remove arp-scan Configurations and Data

To remove arp-scan configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge arp-scan

Remove arp-scan configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge arp-scan

Dependencies

arp-scan have the following dependencies:

References

Summary

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