ttf2ufm_x2gs command not found

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

Introduction

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

ttf2ufm_x2gs: command not found

or when using sudo you get the following error message

sudo: ttf2ufm_x2gs: command not found

Solutions to ttf2ufm_x2gs: command not found

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

In Ubuntu ttf2ufm_x2gs is provided by ttf2ufm package.

ttf2ufm is:

Ttf2ufm is a font converter from the True Type format (and some other formats supported by the FreeType library as well) to the Adobe Type1 format. Ttf2ufm is a modified version of Mark Heath’s TTF 2 PT1 converter. It allows one to create AFM and/or UFM files.

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

sudo apt-get -y install ttf2ufm

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

You can also use apt command to install ttf2ufm.

sudo apt -y install ttf2ufm

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

sudo aptitude install ttf2ufm

Summary

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