nam command not found

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

Introduction

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

nam: command not found

or when using sudo you get the following error message

sudo: nam: command not found

Solutions to nam: command not found

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

In Ubuntu nam is provided by nam package.

nam is:

NAM is a Tcl/TK based animation tool for viewing network simulation traces and real world packet traces. It supports topology layout, packet level animation, and various data inspection tools. NAM began at LBL. It has evolved substantially over the past few years. The NAM development effort was an ongoing collaboration with the VINT project. Currently, it is being developed at ISI as part of the SAMAN and Conser projects.

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

sudo apt-get -y install nam

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

You can also use apt command to install nam.

sudo apt -y install nam

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

sudo aptitude install nam

Summary

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