How To Install tcpreplay on Fedora 36
Introduction
In this tutorial we learn how to install tcpreplay
on Fedora 36.
What is tcpreplay
Tcpreplay is a tool to replay captured network traffic. Currently, tcpreplay supports pcap (tcpdump) and snoop capture formats. Also included, is tcpprep a tool to pre-process capture files to allow increased performance under certain conditions as well as capinfo which provides basic information about capture files.
We can use yum
or dnf
to install tcpreplay
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tcpreplay.
Install tcpreplay on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install tcpreplay
using dnf
by running the following command:
sudo dnf -y install tcpreplay
Install tcpreplay on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install tcpreplay
using yum
by running the following command:
sudo yum -y install tcpreplay
How To Uninstall tcpreplay on Fedora 36
To uninstall only the tcpreplay
package we can use the following command:
sudo dnf remove tcpreplay
tcpreplay Package Contents on Fedora 36
/usr/bin/tcpbridge
/usr/bin/tcpcapinfo
/usr/bin/tcpliveplay
/usr/bin/tcpprep
/usr/bin/tcpreplay
/usr/bin/tcpreplay-edit
/usr/bin/tcprewrite
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/a7469a677f36f34a4cafc368a21e26a0b92ff2
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/bbadb2ed74680db750281013926acfc68a2d16
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/8a14dc5556b6e41fe39e9141a7099bc5fa0619
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/eeb4462468f91bf4704ed5516db1fe3095613e
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/7410c59280685affc436b963330c49e9540d99
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/e6d4cfa899158dc95102d79278b1ea611722bf
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/971d9b9cc7aee232104c5d9d3ef974987df39f
/usr/share/doc/tcpreplay
/usr/share/doc/tcpreplay/CHANGELOG
/usr/share/doc/tcpreplay/CREDIT
/usr/share/doc/tcpreplay/HACKING
/usr/share/doc/tcpreplay/LICENSE
/usr/share/doc/tcpreplay/TODO
/usr/share/doc/tcpreplay/Win32Readme.txt
/usr/share/man/man1/tcpbridge.1.gz
/usr/share/man/man1/tcpcapinfo.1.gz
/usr/share/man/man1/tcpliveplay.1.gz
/usr/share/man/man1/tcpprep.1.gz
/usr/share/man/man1/tcpreplay-edit.1.gz
/usr/share/man/man1/tcpreplay.1.gz
/usr/share/man/man1/tcprewrite.1.gz
References
Summary
In this tutorial we learn how to install tcpreplay
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).