aafigure command not found

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

Introduction

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

aafigure: command not found

or when using sudo you get the following error message

sudo: aafigure: command not found

Solutions to aafigure: command not found

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

In Ubuntu aafigure is provided by python3-aafigure package.

python3-aafigure is:

aafigure is a command line tool that converts drawings in text files to images. Several output formats are supported (SVG, PDF, PNG, JPG and more).

A Python package is also installed, so that the conversion can also be used by Python programs.

Note on dependency on other packages: PDF output requires python-reportlab and bitmap formats require python-imaging.

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

sudo apt-get -y install python3-aafigure

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

You can also use apt command to install python3-aafigure.

sudo apt -y install python3-aafigure

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

sudo aptitude install python3-aafigure

Summary

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