How To Install libotf.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libotf.x86_64 on Amazon Linux 2.
What is libotf.x86_64
The library “libotf” provides the following facilites. 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 library is currently used by the m17n library. It seems that the probject Free Type Layout provides the similar (or better) facility as this library, but currently they have not yet released their library. So, we have developed this one.
We can use yum to install libotf.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libotf.x86_64.
Install libotf.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libotf.x86_64 using yum by running the following command:
sudo yum -y install libotf.x86_64
How To Uninstall libotf.x86_64 on Amazon Linux 2
To uninstall only the libotf.x86_64 package we can use the following command:
sudo yum remove libotf.x86_64
libotf.x86_64 Package Contents on Amazon Linux 2
/usr/bin/otfdump
/usr/bin/otflist
/usr/bin/otftobdf
/usr/bin/otfview
/usr/lib64/libotf.so.0
/usr/lib64/libotf.so.0.0.0
/usr/share/doc/libotf-0.9.13
/usr/share/doc/libotf-0.9.13/AUTHORS
/usr/share/doc/libotf-0.9.13/COPYING
/usr/share/doc/libotf-0.9.13/NEWS
/usr/share/doc/libotf-0.9.13/README
References
Summary
In this tutorial we learn how to install libotf.x86_64 on Amazon Linux 2 using yum.