pcf2bdf command not found

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

Introduction

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

pcf2bdf: command not found

or when using sudo you get the following error message

sudo: pcf2bdf: command not found

Solutions to pcf2bdf: command not found

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

In Ubuntu pcf2bdf is provided by pcf2bdf package.

pcf2bdf is:

Pcf2bdf is a font de-compiler. It converts an X11 font from Portable Compiled Format (PCF) to Bitmap Distribution Format (BDF).

FONTBOUNDINGBOX in a BDF file is not used by bdftopcf, so pcf2bdf generates irresponsible values.

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

sudo apt-get -y install pcf2bdf

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

You can also use apt command to install pcf2bdf.

sudo apt -y install pcf2bdf

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

sudo aptitude install pcf2bdf

Summary

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