ditaa command not found

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

Introduction

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

ditaa: command not found

or when using sudo you get the following error message

sudo: ditaa: command not found

Solutions to ditaa: command not found

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

In Ubuntu ditaa is provided by ditaa package.

ditaa is:

DiTAA is a small command-line utility that can convert diagrams drawn using ASCII art (“drawings” that contain characters that resemble lines, like | / and -), into proper bitmap graphics.

DiTAA also uses special markup syntax to increase the possibilities of shapes and symbols that can be rendered.

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

sudo apt-get -y install ditaa

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

You can also use apt command to install ditaa.

sudo apt -y install ditaa

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

sudo aptitude install ditaa

Summary

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