How To Install woff2 on Fedora 34

woff2 is Web Open Font Format 2.0 library Web Open Font Format 2.0 library

Introduction

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

What is woff2

Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0 with improved compression that is achieved by using the Brotli algorithm. The primary purpose of the WOFF2 format is to efficiently package fonts linked to Web documents by means of CSS @font-face rules. woff2 1.0.2 12.fc34 x86_64 62 k woff2-1.0.2-12.fc34.src.rpm updates Web Open Font Format 2.0 library https MIT Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0 with improved compression that is achieved by using the Brotli algorithm. The primary purpose of the WOFF2 format is to efficiently package fonts linked to Web documents by means of CSS @font-face rules.

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

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

sudo dnf -y install woff2

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

sudo yum -y install woff2

How To Uninstall woff2 on Fedora 34

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

sudo dnf remove woff2

woff2 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/96db45ef9f991d92aeb24e2bcd631cffd2029e
/usr/lib/.build-id/74
/usr/lib/.build-id/74/e471d01065c53b11e7443ff613f6322230f817
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/b673f7cfc3c31bfc9d64e6dfd484fd680d9306
/usr/lib/libwoff2common.so.1.0.2
/usr/lib/libwoff2dec.so.1.0.2
/usr/lib/libwoff2enc.so.1.0.2
/usr/share/licenses/woff2
/usr/share/licenses/woff2/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/9e4cefd882f7d54508588b50635b8f23a7dcbd
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/42f3be87b88d123bdd65a7acfb50f9f4128d44
/usr/lib/.build-id/de
/usr/lib/.build-id/de/acc79053b506ceab0b585081f8761f0bac3324
/usr/lib64/libwoff2common.so.1.0.2
/usr/lib64/libwoff2dec.so.1.0.2
/usr/lib64/libwoff2enc.so.1.0.2
/usr/share/licenses/woff2
/usr/share/licenses/woff2/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/66f8237291d20ecbd39e58faf55221aa761e79
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/e4937ffb496f8e7b1841f351142b345eee15aa
/usr/lib/.build-id/db
/usr/lib/.build-id/db/ac81a04e71630f75e57b8cbd63d3911782a6e2
/usr/lib64/libwoff2common.so.1.0.2
/usr/lib64/libwoff2dec.so.1.0.2
/usr/lib64/libwoff2enc.so.1.0.2
/usr/share/licenses/woff2
/usr/share/licenses/woff2/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/a211121212b27f50ad54373ca37efddc844e0b
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/867c4494628db8512fbd049f0bff5f19eebcf2
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/e68b674ac5ee12af37dd8ba02b5392fde05962
/usr/lib/libwoff2common.so.1.0.2
/usr/lib/libwoff2dec.so.1.0.2
/usr/lib/libwoff2enc.so.1.0.2
/usr/share/licenses/woff2
/usr/share/licenses/woff2/LICENSE

References

Summary

In this tutorial we learn how to install woff2 on Fedora 34 using yum and dnf.