How To Install mscgen on Kali Linux
Introduction
In this tutorial we learn how to install mscgen on Kali Linux.
What is mscgen
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.
There are three methods to install mscgen on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install mscgen Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install mscgen using apt-get by running the following command:
sudo apt-get -y install mscgenInstall mscgen Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install mscgen using apt by running the following command:
sudo apt -y install mscgenInstall mscgen Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install mscgen using aptitude by running the following command:
sudo aptitude -y install mscgenHow To Uninstall mscgen on Kali Linux
To uninstall only the mscgen package we can use the following command:
sudo apt-get remove mscgenUninstall mscgen And Its Dependencies
To uninstall mscgen and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove mscgenRemove mscgen Configurations and Data
To remove mscgen configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mscgenRemove mscgen configuration, data, and all of its dependencies
We can use the following command to remove mscgen configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mscgenDependencies
mscgen have the following dependencies:
References
Summary
In this tutorial we learn how to install mscgen package on Kali Linux using different package management tools: apt, apt-get and aptitude.