How To Install libotf on Rocky Linux 8

In this tutorial we learn how to install libotf on Rocky Linux 8. libotf is A Library for handling OpenType Font

Introduction

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

Install libotf on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove libotf

libotf Package Contents on Rocky Linux 8

/usr/bin/otfdump
/usr/bin/otflist
/usr/bin/otftobdf
/usr/bin/otfview
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/20b5b2874d00388608cadc1eb2f7e3ced2001b
/usr/lib/.build-id/17
/usr/lib/.build-id/17/466c91dcab15753e8b1180703fefb24010ef4b
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/0b47355f75052cde763f8fd83d4b4e54ff61a2
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/ca08d7db622fa645dba8b4c1dfbe0d88aa2497
/usr/lib/.build-id/83
/usr/lib/.build-id/83/58a3f6b25f426df532f1ce35a88a7bf53eab16
/usr/lib64/libotf.so.0
/usr/lib64/libotf.so.0.0.0
/usr/share/doc/libotf
/usr/share/doc/libotf/AUTHORS
/usr/share/doc/libotf/COPYING
/usr/share/doc/libotf/NEWS
/usr/share/doc/libotf/README
/usr/bin/otfdump
/usr/bin/otflist
/usr/bin/otftobdf
/usr/bin/otfview
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/f06d42ac1cbdc07f24b058a7bfe4a0dfad602b
/usr/lib/.build-id/27
/usr/lib/.build-id/27/5e2519ff3639432f4a2a135d7472466edf8704
/usr/lib/.build-id/27/ff7e5f38538b1f0c06bab41c3d42c6ccf63b05
/usr/lib/.build-id/54
/usr/lib/.build-id/54/2899b240472ef6d107ba6d00e36f4966694bc0
/usr/lib/.build-id/63
/usr/lib/.build-id/63/b11a01078a494a51c33c9e94fc8c722c8706e8
/usr/lib/libotf.so.0
/usr/lib/libotf.so.0.0.0
/usr/share/doc/libotf
/usr/share/doc/libotf/AUTHORS
/usr/share/doc/libotf/COPYING
/usr/share/doc/libotf/NEWS
/usr/share/doc/libotf/README

References

Summary

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