Arpwatch maintains a database of Ethernet MAC addresses seen on the network, with their associated IP pairs. Alerts the system administrator via e-mail if any change happens, such as new station/activity, flip-flops, changed and re-used old addresses. In this guide, I will show you ways to install arpwatch Ubuntu 22.04.
Prerequisites to install
- Operating system: Ubuntu 22.04 or older Ubuntu versions
- Privileges: Verify that you can execute the sudo commands line.
Install arpwatch Ubuntu 22.04
arpwatch 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 arpwatch using APT
This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get arpwatch on your Ubuntu 22.04.
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:
Step 2: Install the package on Ubuntu 22.04. You can now install arpwatch Ubuntu by executing this command in the terminal.
Install arpwatch 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.
Then, you can now install arpwatch by 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. Opening the terminal and executing this Linux command:
Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install arpwatch Ubuntu by executing this command in the terminal.
Uninstall arpwatch 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 arpwatch using APT or Aptitude, you could uninstall arpwatch on Ubuntu by running this command
If you want to uninstall arpwatch and remove its data and dependencies, you can also run the following command:
In this tutorial, I showed you ways to install arpwatch on Ubuntu 22.04 and ways to uninstall arpwatch too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.