How To Install arpwatch on CentOS 8

Hostnbit

arpwatch is Network monitoring tools for tracking IP addresses on a network

Introduction

In this tutorial we learn how to install arpwatch on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install arpwatch.

Install arpwatch on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install arpwatch using dnf by running the following command:

sudo dnf -y install arpwatch

Install arpwatch on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

To uninstall only the arpwatch package we can use the following command:

sudo dnf remove arpwatch

arpwatch Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/e58b0142c49457e0b989288f32472d5a8fb7aa
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/65f10ad09c087f80b39ac2b81797078c8228ee
/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

AdvertisementsEzoicreport this ad

Summary

In this tutorial we learn how to install arpwatch on CentOS 8 using yum and dnf.

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top