nlanr-tr-stat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nlanr-tr-stat: command not found
or when using sudo you get the following error message
sudo: nlanr-tr-stat: command not found
Solutions to nlanr-tr-stat: command not found
How To Fix nlanr-tr-stat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nlanr-tr-stat is provided by ns2 package.
ns2 is:
Provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks. Ns-2 is written in C++ and an Object oriented version of Tcl called OTcl.
Ns began as a variant of the REAL network simulator in 1989 and has evolved substantially over the past few years. In 1995 ns development was supported by DARPA through the VINT project at LBL, Xerox PARC, UCB, and USC/ISI. Currently ns development is support through DARPA with SAMAN and through NSF with CONSER, both in collaboration with other researchers including ACIRI. Ns has always included substantal contributions from other researchers, including wireless code from the UCB Daedelus and CMU Monarch projects and Sun Microsystems.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ns2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ns2.
sudo apt -y install ns2
Or if you have aptitude installed you can use the following command.
sudo aptitude install ns2
Summary
In this tutorial we learn how to fix nlanr-tr-stat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.