How to Install or Uninstall iputils-arping on Ubuntu 22.04

Updated: September 4, 2022

The arping command acts like the standard ping command except it pings a machine by its ARP address instead of its IP address. It is typically used to locate a machine if its hardware address is known but its IP address is unknown In this guide, I will show you ways to install iputils-arping Ubuntu 22.04.

Prerequisites

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install iputils-arping on Ubuntu 22.04

Install iputils-arping Ubuntu 22.04

iputils-arping is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install iputils-arping using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get iputils-arping on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install iputils-arping Ubuntu by executing this command in the terminal.

sudo apt-get install iputils-arping

Install iputils-arping using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

After that, you can now install iputils-arping by following these steps:

Step 1: The APT package repository cache needs to be updated before you try 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 update

Step 2: Install the package on Ubuntu 22.04. You can now install iputils-arping Ubuntu by executing this command in the terminal.

sudo aptitude -y install iputils-arping

Uninstall iputils-arping on Ubuntu 22.04

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

You can uninstall iputils-arping on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove iputils-arping

If you want to uninstall iputils-arping and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge iputils-arping

Summary

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