How To Install arpwatch on Fedora 34
Introduction
In this tutorial we learn how to install arpwatch
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install arpwatch.
Install arpwatch on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34
To uninstall only the arpwatch
package we can use the following command:
sudo dnf remove arpwatch
arpwatch Package Contents on Fedora 34
/etc/sysconfig/arpwatch
/usr/lib/.build-id
/usr/lib/.build-id/48
/usr/lib/.build-id/48/cc57d2abd14f8137e0cb460584ee82527f9a6a
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/4eb43e46c088033b0cd69d841d9018de64f021
/usr/lib/systemd/system/arpwatch.service
/usr/sbin/arp2ethers
/usr/sbin/arpsnmp
/usr/sbin/arpwatch
/usr/sbin/massagevendor
/usr/share/arpwatch
/usr/share/arpwatch/d.awk
/usr/share/arpwatch/duplicates.awk
/usr/share/arpwatch/e.awk
/usr/share/arpwatch/euppertolower.awk
/usr/share/arpwatch/p.awk
/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
/etc/sysconfig/arpwatch
/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/81acf116c7ee4cbdc32d4f9f247e524fef6a77
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/9e4e4bd95ab0cc43c1d18177d4c30b02332bb2
/usr/lib/systemd/system/arpwatch.service
/usr/sbin/arp2ethers
/usr/sbin/arpsnmp
/usr/sbin/arpwatch
/usr/sbin/massagevendor
/usr/share/arpwatch
/usr/share/arpwatch/d.awk
/usr/share/arpwatch/duplicates.awk
/usr/share/arpwatch/e.awk
/usr/share/arpwatch/euppertolower.awk
/usr/share/arpwatch/p.awk
/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 Fedora 34 using yum and dnf.