How To Install libotf on AlmaLinux 8

In this tutorial we learn how to install libotf in AlmaLinux 8. libotf is A Library for handling OpenType Font

Introduction

In this tutorial we learn how to install libotf on AlmaLinux 8.

What is libotf

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 or dnf to install libotf on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libotf.

Install libotf on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libotf using dnf by running the following command:

sudo dnf -y install libotf

Install libotf on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libotf using yum by running the following command:

sudo yum -y install libotf

How To Uninstall libotf on AlmaLinux 8

To uninstall only the libotf package we can use the following command:

sudo dnf remove libotf

References

Summary

In this tutorial we learn how to install libotf on AlmaLinux 8 using yum and dnf.