How To Install dia-shapes on Kali Linux

In this tutorial we learn how to install dia-shapes on Kali Linux. dia-shapes is Diagram editor (additional shapes)

Introduction

In this tutorial we learn how to install dia-shapes on Kali Linux.

What is dia-shapes

dia-shapes is:

Dia is an editor for diagrams, graphs, charts etc. There is support for UML static structure diagrams (class diagrams), Entity-Relationship diagrams, network diagrams and much more. Diagrams can be exported to postscript and many other formats.

This package provides additional shapes for Dia. Included shapes are

  • Automata
  • AUTOSAR
  • Building site
  • Central data processing
  • CH-1 notation
  • Chemistry lab
  • Circuit 2
  • CMOS
  • Digital
  • EPC
  • Electric 2
  • Electrical
  • Electronic
  • Gradient
  • Living Systems Theory
  • Optics
  • Racks
  • Renewable Energy
  • Scenegraph
  • Value Stream Mapping

There are three methods to install dia-shapes 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 dia-shapes Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dia-shapes

Install dia-shapes Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dia-shapes

Install dia-shapes 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 update

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

sudo aptitude -y install dia-shapes

How To Uninstall dia-shapes on Kali Linux

To uninstall only the dia-shapes package we can use the following command:

sudo apt-get remove dia-shapes

Uninstall dia-shapes And Its Dependencies

To uninstall dia-shapes and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove dia-shapes

Remove dia-shapes Configurations and Data

To remove dia-shapes configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge dia-shapes

Remove dia-shapes configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dia-shapes

Dependencies

dia-shapes have the following dependencies:

References

Summary

In this tutorial we learn how to install dia-shapes package on Kali Linux using different package management tools: apt, apt-get and aptitude.