cube2font command not found

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

Introduction

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

cube2font: command not found

or when using sudo you get the following error message

sudo: cube2font: command not found

Solutions to cube2font: command not found

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

In Ubuntu cube2font is provided by cube2font package.

cube2font is:

cube2font is a utility program designed to create font bitmaps for Cube Engine games, it works by taking a Truetype font and building it into a set of coordinates in an image. cube2font is an improved version of the previous TTF2Font, supporting a much larger range of characters.

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

sudo apt-get -y install cube2font

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

You can also use apt command to install cube2font.

sudo apt -y install cube2font

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

sudo aptitude install cube2font

Summary

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