How To Install ttmkfdir on Rocky Linux 8

In this tutorial we learn how to install ttmkfdir on Rocky Linux 8. ttmkfdir is Utility to create fonts.scale files for truetype fonts

Introduction

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

What is ttmkfdir

ttmkfdir is a utility used to create fonts.scale files in TrueType font directories in order to prepare them for use by the font server.

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

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

sudo dnf -y install ttmkfdir

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

sudo yum -y install ttmkfdir

How To Uninstall ttmkfdir on Rocky Linux 8

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

sudo dnf remove ttmkfdir

ttmkfdir Package Contents on Rocky Linux 8

/usr/bin/ttmkfdir
/usr/lib/.build-id
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/7e12e9bed6cb8efd4e679c8dfe1a43b51c9df4
/usr/share/doc/ttmkfdir
/usr/share/doc/ttmkfdir/README
/usr/share/man/man1/ttmkfdir.1.gz

References

Summary

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