How To Install arpwatch on Rocky Linux 8
Introduction
In this tutorial we learn how to install arpwatch
on Rocky Linux 8.
What is arpwatch
The arpwatch package contains arpwatch and arpsnmp. Arpwatch and arpsnmp are both network monitoring tools. Both utilities monitor Ethernet or FDDI network traffic and build databases of Ethernet/IP address pairs, and can report certain changes via email. Install the arpwatch package if you need networking monitoring devices which will automatically keep track of the IP addresses on your network.
We can use yum
or dnf
to install arpwatch
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install arpwatch.
Install arpwatch on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install arpwatch
using dnf
by running the following command:
sudo dnf -y install arpwatch
Install arpwatch on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install arpwatch
using yum
by running the following command:
sudo yum -y install arpwatch
How To Uninstall arpwatch on Rocky Linux 8
To uninstall only the arpwatch
package we can use the following command:
sudo dnf remove arpwatch
arpwatch Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/f0c919fe87d1a7af846ecfb7bf69fd26a94cfe
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/6fa97d44c565873a7def25cd019d537bf1b39b
/usr/lib/systemd/system/arpwatch.service
/usr/sbin/arp2ethers
/usr/sbin/arpsnmp
/usr/sbin/arpwatch
/usr/sbin/massagevendor
/usr/share/doc/arpwatch
/usr/share/doc/arpwatch/CHANGES
/usr/share/doc/arpwatch/README
/usr/share/doc/arpwatch/arpfetch
/usr/share/man/man8/arp2ethers.8.gz
/usr/share/man/man8/arpsnmp.8.gz
/usr/share/man/man8/arpwatch.8.gz
/usr/share/man/man8/massagevendor.8.gz
/var/lib/arpwatch
/var/lib/arpwatch/arp.dat
/var/lib/arpwatch/arp.dat-
/var/lib/arpwatch/arp.dat.new
/var/lib/arpwatch/ethercodes.dat
References
Summary
In this tutorial we learn how to install arpwatch
on Rocky Linux 8 using yum and dnf.