nsntrace command not found

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

Introduction

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

nsntrace: command not found

or when using sudo you get the following error message

sudo: nsntrace: command not found

Solutions to nsntrace: command not found

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

In Ubuntu nsntrace is provided by nsntrace package.

nsntrace is:

Uses Linux network namespaces to perform network traces of a single application. The traces are saved as pcap files. And can later be analyzed by for instance Wireshark.

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

sudo apt-get -y install nsntrace

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

You can also use apt command to install nsntrace.

sudo apt -y install nsntrace

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

sudo aptitude install nsntrace

Summary

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