ttfautohintGUI command not found

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

Introduction

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

ttfautohintGUI: command not found

or when using sudo you get the following error message

sudo: ttfautohintGUI: command not found

Solutions to ttfautohintGUI: command not found

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

In Ubuntu ttfautohintGUI is provided by ttfautohint package.

ttfautohint is:

This project provides a library which takes a TrueType font as the input, removes its bytecode instructions (if any), and returns a new font where all glyphs are bytecode hinted using the information given by FreeType’s autohinting module. The idea is to provide the excellent quality of the autohinter on platforms which don’t use FreeType.

This includes a cli and a gui version of the tool.

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

sudo apt-get -y install ttfautohint

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

You can also use apt command to install ttfautohint.

sudo apt -y install ttfautohint

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

sudo aptitude install ttfautohint

Summary

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