unifont-viewer command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
unifont-viewer: command not found
or when using sudo you get the following error message
sudo: unifont-viewer: command not found
Solutions to unifont-viewer: command not found
How To Fix unifont-viewer: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu unifont-viewer is provided by unifont-bin package.
unifont-bin is:
This is a set of Perl scripts, C programs, and FontForge scripts to manipulate Roman Czyborra’s GNU Unifont “.hex” format font files. GNU Unifont has a Unicode-compatible font structure. These utilities allow editing “.hex” fonts with text and graphical editors, producing final versions of fonts in BDF, PCF, PSF, TrueType SBIT, and TrueType outline formats.
To build the TrueType fonts, install the package ‘fontforge’. To build the PCF fonts, use ‘bdftopcf’, which is in the ‘xfonts-utils’ package. To build the PSF font, use ‘bdf2psf’, which is in the ‘console-setup’ package. To obtain the font sources, run ‘apt-get source unifont’.
Building the main Unifont TrueType font will require at least 4 GB of main memory. You only need texlive (~1 GB) if you want to rebuild the unifont.pdf file in doc/ (see doc/Makefile); this is not done by default.
To fix this problem, we can install more using the command below.
sudo apt-get -y install unifont-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install unifont-bin.
sudo apt -y install unifont-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install unifont-bin
Summary
In this tutorial we learn how to fix unifont-viewer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.