How To Install libfontenc on Rocky Linux 8

In this tutorial we learn how to install libfontenc on Rocky Linux 8. libfontenc is X.Org X11 libfontenc runtime library

Introduction

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

What is libfontenc

X.Org X11 libfontenc runtime library

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

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

sudo dnf -y install libfontenc

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

sudo yum -y install libfontenc

How To Uninstall libfontenc on Rocky Linux 8

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

sudo dnf remove libfontenc

libfontenc Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/22c9b09f839255a6d8b3faf11f1ad3be4cf0ab
/usr/lib/libfontenc.so.1
/usr/lib/libfontenc.so.1.0.0
/usr/share/doc/libfontenc
/usr/share/doc/libfontenc/COPYING
/usr/share/doc/libfontenc/ChangeLog
/usr/share/doc/libfontenc/README
/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/963db7fe7fe961b6f407650d2f8d4e1baa15e4
/usr/lib64/libfontenc.so.1
/usr/lib64/libfontenc.so.1.0.0
/usr/share/doc/libfontenc
/usr/share/doc/libfontenc/COPYING
/usr/share/doc/libfontenc/ChangeLog
/usr/share/doc/libfontenc/README

References

Summary

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