How To Install gi-docgen-fonts on Fedora 36

In this tutorial we learn how to install gi-docgen-fonts in Fedora 36. gi-docgen-fonts is Metapackage providing fonts for gi-docgen output

Introduction

In this tutorial we learn how to install gi-docgen-fonts on Fedora 36.

What is gi-docgen-fonts

Because web fonts from upstream are not bundled in the gi-docgen package, documentation packages generated with gi-docgen must depend on this metapackage to ensure the proper system fonts are present.

We can use yum or dnf to install gi-docgen-fonts on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gi-docgen-fonts.

Install gi-docgen-fonts on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gi-docgen-fonts using dnf by running the following command:

sudo dnf -y install gi-docgen-fonts

Install gi-docgen-fonts on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gi-docgen-fonts using yum by running the following command:

sudo yum -y install gi-docgen-fonts

How To Uninstall gi-docgen-fonts on Fedora 36

To uninstall only the gi-docgen-fonts package we can use the following command:

sudo dnf remove gi-docgen-fonts

gi-docgen-fonts Package Contents on Fedora 36

References

Summary

In this tutorial we learn how to install gi-docgen-fonts on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).