autodia command not found

In this troubleshooting guide we learn how to fix autodia command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

autodia: command not found

or when using sudo you get the following error message

sudo: autodia: command not found

Solutions to autodia: command not found

How To Fix autodia: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu autodia is provided by autodia package.

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)

To fix this problem, we can install more using the command below.

sudo apt-get -y install autodia

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install autodia.

sudo apt -y install autodia

Or if you have aptitude installed you can use the following command.

sudo aptitude install autodia

Summary

In this tutorial we learn how to fix autodia command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.