fontmake command not found

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

Introduction

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

fontmake: command not found

or when using sudo you get the following error message

sudo: fontmake: command not found

Solutions to fontmake: command not found

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

In Ubuntu fontmake is provided by fontmake package.

fontmake is:

This library provides a wrapper for several other Python libraries which together compile fonts from various sources (.glyphs, .ufo) into binaries (.otf, .ttf).

This package provides the executable program.

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

sudo apt-get -y install fontmake

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

You can also use apt command to install fontmake.

sudo apt -y install fontmake

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

sudo aptitude install fontmake

Summary

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