How To Install mkfontscale on Fedora 36

In this tutorial we learn how to install mkfontscale in Fedora 36. mkfontscale is Tool to generate legacy X11 font system index files

Introduction

In this tutorial we learn how to install mkfontscale on Fedora 36.

What is mkfontscale

mkfontscale creates the fonts.scale and fonts.dir index files used by the legacy X11 font system. It now includes the mkfontdir script previously distributed separately for compatibility with older X11 versions.

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

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

sudo dnf -y install mkfontscale

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

sudo yum -y install mkfontscale

How To Uninstall mkfontscale on Fedora 36

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

sudo dnf remove mkfontscale

mkfontscale Package Contents on Fedora 36

/usr/bin/mkfontdir
/usr/bin/mkfontscale
/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/54582400990a357bce7688111d16258f4f7365
/usr/share/licenses/mkfontscale
/usr/share/licenses/mkfontscale/COPYING
/usr/share/man/man1/mkfontdir.1.gz
/usr/share/man/man1/mkfontscale.1.gz

References

Summary

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