How To Install tcpdump.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install tcpdump.x86_64 on Amazon Linux 2.
What is tcpdump.x86_64
Tcpdump is a command-line tool for monitoring network traffic. Tcpdump can capture and display the packet headers on a particular network interface or on all interfaces. Tcpdump can display all of the packet headers, or just the ones that match particular criteria. Install tcpdump if you need a program to monitor network traffic.
We can use yum to install tcpdump.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install tcpdump.x86_64.
Install tcpdump.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install tcpdump.x86_64 using yum by running the following command:
sudo yum -y install tcpdump.x86_64
How To Uninstall tcpdump.x86_64 on Amazon Linux 2
To uninstall only the tcpdump.x86_64 package we can use the following command:
sudo yum remove tcpdump.x86_64
tcpdump.x86_64 Package Contents on Amazon Linux 2
/usr/sbin/tcpdump
/usr/sbin/tcpslice
/usr/share/doc/tcpdump-4.9.2
/usr/share/doc/tcpdump-4.9.2/CHANGES
/usr/share/doc/tcpdump-4.9.2/CREDITS
/usr/share/doc/tcpdump-4.9.2/LICENSE
/usr/share/doc/tcpdump-4.9.2/README.md
/usr/share/man/man8/tcpdump.8.gz
/usr/share/man/man8/tcpslice.8.gz
References
Summary
In this tutorial we learn how to install tcpdump.x86_64 on Amazon Linux 2 using yum.