tcpflow command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tcpflow: command not found
or when using sudo you get the following error message
sudo: tcpflow: command not found
Solutions to tcpflow: command not found
How To Fix tcpflow: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tcpflow is provided by tcpflow-nox package.
tcpflow-nox is:
tcpflow is a program that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis or debugging. A program like ’tcpdump’ shows a summary of packets seen on the wire, but usually doesn’t store the data that’s actually being transmitted. In contrast, tcpflow reconstructs the actual data streams and stores each flow in a separate file for later analysis.
tcpflow understands sequence numbers and will correctly reconstruct data streams regardless of retransmissions or out-of-order delivery. However, it currently does not understand IP fragments; flows containing IP fragments will not be recorded properly.
tcpflow is based on the LBL Packet Capture Library and therefore supports the same rich filtering expressions that programs like ’tcpdump’ support. tcpflow can also rebuild flows from data captured with ’tcpdump -w'.
This package has no dependency on libcairo or any x11 libraries, and cannot generate graphical reports.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tcpflow-nox
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tcpflow-nox.
sudo apt -y install tcpflow-nox
Or if you have aptitude installed you can use the following command.
sudo aptitude install tcpflow-nox
Summary
In this tutorial we learn how to fix tcpflow command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.