trace-summary command not found

In this troubleshooting guide we learn how to fix trace-summary command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

trace-summary: command not found

or when using sudo you get the following error message

sudo: trace-summary: command not found

Solutions to trace-summary: command not found

How To Fix trace-summary: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu trace-summary is provided by trace-summary package.

trace-summary is:

trace-summary is a Python script that generates break-downs of network traffic, including lists of the top hosts, protocols, ports, etc. Optionally, it can generate output separately for incoming vs. outgoing traffic, per subnet, and per time-interval.

To fix this problem, we can install more using the command below.

sudo apt-get -y install trace-summary

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install trace-summary.

sudo apt -y install trace-summary

Or if you have aptitude installed you can use the following command.

sudo aptitude install trace-summary

Summary

In this tutorial we learn how to fix trace-summary command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.