Ways to Uninstall or Install arp-scan Ubuntu 22.04

Updated: October 14, 2022

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 In this guide, I will show you how to install arp-scan on Ubuntu 22.04.

Requirements to install

  • OS: Ubuntu 22.04 is needed for arp-scan to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install arp-scan on Ubuntu 22.04

Install arp-scan Ubuntu 22.04

arp-scan is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install arp-scan 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 steps to install arp-scan on your Ubuntu.

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

sudo apt update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install arp-scan Ubuntu by executing this command in the terminal.

sudo apt-get install arp-scan

Install arp-scan using Aptitude

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

sudo apt install aptitude

After that, you can now install arp-scan, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install arp-scan Ubuntu by executing this command in the terminal.

sudo aptitude -y install arp-scan

Uninstall arp-scan 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 arp-scan.

You can uninstall arp-scan Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove arp-scan

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

sudo apt autoremove --purge arp-scan

Conclusion

In this tutorial, I showed you ways to install arp-scan on Ubuntu 22.04 and some ways to uninstall arp-scan too. Please contact me if you require any assistance. I’d be delighted to respond.