How To Install harfbuzz on Fedora 34

harfbuzz is Text shaping library Text shaping library

Introduction

In this tutorial we learn how to install harfbuzz on Fedora 34.

What is harfbuzz

HarfBuzz is an implementation of the OpenType Layout engine. harfbuzz 2.7.4 3.fc34 x86_64 634 k harfbuzz-2.7.4-3.fc34.src.rpm fedora Text shaping library https MIT HarfBuzz is an implementation of the OpenType Layout engine.

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

Install harfbuzz on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install harfbuzz

Install harfbuzz on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove harfbuzz

harfbuzz Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/15d7ab76f7ad44c82a5281e5f58c5eab971756
/usr/lib/.build-id/14
/usr/lib/.build-id/14/4fd10bb6b7e1e2eee6f982f94497522e17943f
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/cb26c72f625edb3c227c593a4cea1bf21a583c
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/HarfBuzz-0.0.typelib
/usr/lib/libharfbuzz-gobject.so.0
/usr/lib/libharfbuzz-gobject.so.0.20704.0
/usr/lib/libharfbuzz-subset.so.0
/usr/lib/libharfbuzz-subset.so.0.20704.0
/usr/lib/libharfbuzz.so.0
/usr/lib/libharfbuzz.so.0.20704.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/93
/usr/lib/.build-id/93/85811fcb31a0cf87b695f599a6d1d29fcecb45
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/891fe477a95502532d5d1ad74aa89e7e4a9636
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/175b853fc2cf1f1e36b68f5056f1a36fcf5af8
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/HarfBuzz-0.0.typelib
/usr/lib64/libharfbuzz-gobject.so.0
/usr/lib64/libharfbuzz-gobject.so.0.20704.0
/usr/lib64/libharfbuzz-subset.so.0
/usr/lib64/libharfbuzz-subset.so.0.20704.0
/usr/lib64/libharfbuzz.so.0
/usr/lib64/libharfbuzz.so.0.20704.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 Fedora 34 using yum and dnf.