How To Install python-seqdiag on Debian 9

In this tutorial we learn how to install python-seqdiag on Debian 9. python-seqdiag is seqdiag generate sequence-diagram image file from spec-text file

Introduction

In this tutorial we learn how to install python-seqdiag on Debian 9.

What is python-seqdiag

python-seqdiag is:

Generate sequence-diagram from dot like text with multilingualization for node-label. But this supports utf-8 only. And get some examples and generated images.

There are three methods to install python-seqdiag on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-seqdiag Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python-seqdiag using apt-get by running the following command:

sudo apt-get -y install python-seqdiag

Install python-seqdiag Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-seqdiag using apt by running the following command:

sudo apt -y install python-seqdiag

Install python-seqdiag Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-seqdiag using aptitude by running the following command:

sudo aptitude -y install python-seqdiag

How To Uninstall python-seqdiag on Debian 9

To uninstall only the python-seqdiag package we can use the following command:

sudo apt-get remove python-seqdiag

Uninstall python-seqdiag And Its Dependencies

To uninstall python-seqdiag and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-seqdiag

Remove python-seqdiag Configurations and Data

To remove python-seqdiag configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-seqdiag

Remove python-seqdiag configuration, data, and all of its dependencies

We can use the following command to remove python-seqdiag configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-seqdiag

Dependencies

python-seqdiag have the following dependencies:

References

Summary

In this tutorial we learn how to install python-seqdiag package on Debian 9 using different package management tools: apt, apt-get and aptitude.