libotf-config command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
libotf-config: command not found
or when using sudo you get the following error message
sudo: libotf-config: command not found
Solutions to libotf-config: command not found
How To Fix libotf-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu libotf-config is provided by libotf-dev package.
libotf-dev 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 header and development files needed to build programs and packages using libotf.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libotf-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libotf-dev.
sudo apt -y install libotf-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libotf-dev
Summary
In this tutorial we learn how to fix libotf-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.