How To Install harfbuzz on Rocky Linux 8

In this tutorial we learn how to install harfbuzz on Rocky Linux 8. harfbuzz is Text shaping library

Introduction

In this tutorial we learn how to install harfbuzz on Rocky Linux 8.

What is harfbuzz

HarfBuzz is an implementation of the OpenType Layout engine.

We can use yum or dnf to install harfbuzz on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install harfbuzz.

Install harfbuzz 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 harfbuzz using dnf by running the following command:

sudo dnf -y install harfbuzz

Install harfbuzz 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 harfbuzz using yum by running the following command:

sudo yum -y install harfbuzz

How To Uninstall harfbuzz on Rocky Linux 8

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

sudo dnf remove harfbuzz

harfbuzz Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/0e8c0fc2ac8f9e4eda39a518637d2077459355
/usr/lib64/libharfbuzz.so.0
/usr/lib64/libharfbuzz.so.0.10705.0
/usr/share/doc/harfbuzz
/usr/share/doc/harfbuzz/AUTHORS
/usr/share/doc/harfbuzz/NEWS
/usr/share/doc/harfbuzz/README
/usr/share/licenses/harfbuzz
/usr/share/licenses/harfbuzz/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/a143f43b63ae9492b1d6bb8f97196622c3f591
/usr/lib/libharfbuzz.so.0
/usr/lib/libharfbuzz.so.0.10705.0
/usr/share/doc/harfbuzz
/usr/share/doc/harfbuzz/AUTHORS
/usr/share/doc/harfbuzz/NEWS
/usr/share/doc/harfbuzz/README
/usr/share/licenses/harfbuzz
/usr/share/licenses/harfbuzz/COPYING

References

Summary

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