fntsample command not found

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

Introduction

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

fntsample: command not found

or when using sudo you get the following error message

sudo: fntsample: command not found

Solutions to fntsample: command not found

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

In Ubuntu fntsample is provided by fntsample package.

fntsample is:

A program for making font samples that show Unicode coverage of the font and are similar in appearance to Unicode charts. Samples can be saved as PDF or PostScript files.

This package also contains script called ‘pdfoutline’, that can be used to add outlines (aka bookmarks) to generated PDF files.

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

sudo apt-get -y install fntsample

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

You can also use apt command to install fntsample.

sudo apt -y install fntsample

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

sudo aptitude install fntsample

Summary

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