tcpslice command not found

In this troubleshooting guide we learn how to fix tcpslice command not found error message

Introduction

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

tcpslice: command not found

or when using sudo you get the following error message

sudo: tcpslice: command not found

Solutions to tcpslice: command not found

How To Fix tcpslice: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tcpslice is provided by tcpslice package.

tcpslice is:

Tcpslice is a program for extracting portions of packet-trace files generated using tcpdump(l)’s -w flag. It can also be used to glue together several such files.

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

sudo apt-get -y install tcpslice

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

You can also use apt command to install tcpslice.

sudo apt -y install tcpslice

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

sudo aptitude install tcpslice

Summary

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