How To Install autodia on Kali Linux
Introduction
In this tutorial we learn how to install autodia on Kali Linux.
What is autodia
autodia is:
AutoDia (Automatic Dia XML) is a modular application that parses source code, XML or data and produces an XML document in Dia format[1] (or images via graphviz and vcg).
Its goal is to be a UML/DB Schema diagram autocreation package. The diagrams its creates are standard UML diagrams showing dependencies, superclasses, packages, classes and inheritances, as well as the methods, etc of each class.
AutoDia supports any language that a Handler has been written for - see below for an up to date list.
Autodia now outputs the following formats:
- Graphviz (using dot to generate jpg, png, etc)
- dot
- vcg
- xvcg (using xvcg to output postscript, etc )
- dia (using a new custom directed graph algorithm to layout diagrams)
- HTML/XML/Anything (if you write your own template)
- Experimental SpringGraph (native perl directed graphs similar to graphviz) now included
- Experimental Umbrello XML/XMI (requires fixing)
Autodia now parses the following forms of input:
- Perl
- Python
- PHP
- Java (some issues with version 1.4) no longer fully supported (it used to work, Java broke its API’s now it doesn’t, fixes welcome)
- C++
- Torque (XML DB schema)
- DBI (perl database interface handles)
- SQL
- Umbrello (experimental)
[1] For more information about Dia, see: https://en.wikipedia.org/wiki/Dia_(software)
There are three methods to install autodia 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 autodia Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install autodia using apt-get by running the following command:
sudo apt-get -y install autodiaInstall autodia Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install autodia using apt by running the following command:
sudo apt -y install autodiaInstall autodia 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 autodia using aptitude by running the following command:
sudo aptitude -y install autodiaHow To Uninstall autodia on Kali Linux
To uninstall only the autodia package we can use the following command:
sudo apt-get remove autodiaUninstall autodia And Its Dependencies
To uninstall autodia and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove autodiaRemove autodia Configurations and Data
To remove autodia configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge autodiaRemove autodia configuration, data, and all of its dependencies
We can use the following command to remove autodia configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge autodiaDependencies
autodia have the following dependencies:
References
Summary
In this tutorial we learn how to install autodia package on Kali Linux using different package management tools: apt, apt-get and aptitude.