mgen command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mgen: command not found
or when using sudo you get the following error message
sudo: mgen: command not found
Solutions to mgen: command not found
How To Fix mgen: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mgen is provided by mgen package.
mgen is:
MGEN provides the ability to perform IP network performance tests and measurements using TCP and UDP/IP traffic. Test messages can be generated, received and logged. MGEN offers control over all network parameters and timing of these messages. All this can be done either via the command line or defined in a file format for greater reproducibility.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mgen
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mgen.
sudo apt -y install mgen
Or if you have aptitude installed you can use the following command.
sudo aptitude install mgen
Summary
In this tutorial we learn how to fix mgen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.