mftrace command not found

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

Introduction

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

mftrace: command not found

or when using sudo you get the following error message

sudo: mftrace: command not found

Solutions to mftrace: command not found

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

In Ubuntu mftrace is provided by mftrace package.

mftrace is:

mftrace is a small Python program that lets you trace a TeX bitmap font (a METAFONT font) into a PFA or PFB font (A PostScript Type1 Scalable Font).

Type1 fonts offer many advantages over bitmaps, as they allow PostScript files to render correctly on printers with many resolutions. Moreover, Ghostscript can generate much better PDF, if given scalable fonts.

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

sudo apt-get -y install mftrace

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

You can also use apt command to install mftrace.

sudo apt -y install mftrace

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

sudo aptitude install mftrace

Summary

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