Ways to Uninstall and Install arp-scan on Ubuntu 22.04

Updated: September 1, 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 tutorial, I will show you ways to install arp-scan Ubuntu 22.04.

Prerequisites

  • Operating system: arp-scan needs Ubuntu 22.04 to work
  • Privileges: Make sure that you can run 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 that you think is easy and you can 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 instructions to install arp-scan on your Ubuntu.

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

sudo apt-get -y update

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

sudo apt -y install arp-scan

Install arp-scan 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. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt install aptitude

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

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install arp-scan Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install arp-scan

Uninstall arp-scan on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

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

sudo apt remove --auto-remove arp-scan

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

sudo apt autoremove --purge arp-scan

Ending

In this tutorial, I showed you ways to install arp-scan on Ubuntu 22.04 and ways to uninstall arp-scan too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.