How To Install mscgen on CentOS 7
Introduction
In this tutorial we learn how to install mscgen
on CentOS 7.
What is mscgen
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 although MSCs need not be complicated to create or use. Mscgen aims to provide a simple text language that is clear to create, edit and understand, which can also be transformed into common image formats for display or printing.
We can use yum
or dnf
to install mscgen
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mscgen.
Install mscgen on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install mscgen
using yum
by running the following command:
Install mscgen on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install mscgen
using dnf
by running the following command:
How To Uninstall mscgen on CentOS 7
To uninstall only the mscgen
package we can use the following command:
References
Summary
In this tutorial we learn how to install mscgen
on CentOS 7 using yum
and dnf
.