NPlam2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
NPlam2: command not found
or when using sudo you get the following error message
sudo: NPlam2: command not found
Solutions to NPlam2: command not found
How To Fix NPlam2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu NPlam2 is provided by netpipe-lam package.
netpipe-lam is:
NetPIPE is a protocol independent performance tool that encapsulates the best of ttcp and netperf and visually represents the network performance under a variety of conditions. By taking the end-to-end application view of a network, NetPIPE clearly shows the overhead associated with different protocol layers. NetPIPE answers such questions as: how soon will a given data block of size k arrive at its destination? Which network and protocol will transmit size k blocks the fastest? What is a given network’s effective maximum throughput and saturation level? Does there exist a block size k for which the throughput is maximized? How much communication overhead is due to the network communication protocol layer(s)? How quickly will a small (< 1 kbyte) control message arrive, and which network and protocol are best for this purpose?
This package measures network performance using the MPI protocol, a Message Passing Interface frequently used in parallel processing, and which uses in turn TCP as its underlying transport. The implementation of the MPI standard used by this package is that provided by the lam set of packages.
To fix this problem, we can install more using the command below.
sudo apt-get -y install netpipe-lam
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install netpipe-lam.
sudo apt -y install netpipe-lam
Or if you have aptitude installed you can use the following command.
sudo aptitude install netpipe-lam
Summary
In this tutorial we learn how to fix NPlam2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.