otfview command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
otfview: command not found
or when using sudo you get the following error message
sudo: otfview: command not found
Solutions to otfview: command not found
How To Fix otfview: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu otfview is provided by libotf-bin package.
libotf-bin is:
The libotf library provides the following facilities:
- Read Open Type Layout Tables from OTF file. Currently these tables are supported; head, name, cmap, GDEF, GSUB, and GPOS.
- Convert a Unicode character sequence to a glyph code sequence by using the above tables.
The combination of libotf and the FreeType library (Ver.2) realizes CTL (complex text layout) by OpenType fonts.
This package contains the support utilities of libotf.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libotf-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libotf-bin.
sudo apt -y install libotf-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install libotf-bin
Summary
In this tutorial we learn how to fix otfview command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.