mscgen command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mscgen: command not found
or when using sudo you get the following error message
sudo: mscgen: command not found
Solutions to mscgen: command not found
How To Fix mscgen: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mscgen is provided by mscgen package.
mscgen is:
mscgen is a small program that parses Message Sequence Chart descriptions and produces PNG, SVG, EPS or server side image maps (ismaps) as the output. Message Sequence Charts (MSCs) are a way of representing entities and interactions over some time period and are often used in combination with SDL. MSCs are popular in Telecoms to specify how protocols operate.
mscgen can be used to create in-line MSC-charts in documentations parsed by doxygen. Extensions also exists for Python’s Sphinx and mediawiki that can use mscgen.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mscgen
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mscgen.
sudo apt -y install mscgen
Or if you have aptitude installed you can use the following command.
sudo aptitude install mscgen
Summary
In this tutorial we learn how to fix mscgen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.