How To Install tcptrack on Fedora 34

tcptrack is Displays information about tcp connections on a network interface

Introduction

In this tutorial we learn how to install tcptrack on Fedora 34.

What is tcptrack

tcptrack is a sniffer which displays information about TCP connections it sees on a network interface. It passively watches for connections on the network interface, keeps track of their state and displays a list of connections in a manner similar to the unix ’top’ command. It displays source and destination addresses and ports, connection state, idle time, and bandwidth usage

We can use yum or dnf to install tcptrack on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install tcptrack.

Install tcptrack 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 tcptrack using dnf by running the following command:

sudo dnf -y install tcptrack

Install tcptrack 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 tcptrack using yum by running the following command:

sudo yum -y install tcptrack

How To Uninstall tcptrack on Fedora 34

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

sudo dnf remove tcptrack

tcptrack Package Contents on Fedora 34

/usr/bin/tcptrack
/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/db9c4d0ba7ac499f0501124f4b45a6daef289a
/usr/share/doc/tcptrack
/usr/share/doc/tcptrack/AUTHORS
/usr/share/doc/tcptrack/ChangeLog
/usr/share/doc/tcptrack/NEWS
/usr/share/doc/tcptrack/README
/usr/share/doc/tcptrack/TODO
/usr/share/licenses/tcptrack
/usr/share/licenses/tcptrack/COPYING
/usr/share/man/man1/tcptrack.1.gz

References

Summary

In this tutorial we learn how to install tcptrack on Fedora 34 using yum and dnf.