How To Install php-tcpdf-gnu-free-sans-fonts on Fedora 36

In this tutorial we learn how to install php-tcpdf-gnu-free-sans-fonts in Fedora 36. php-tcpdf-gnu-free-sans-fonts is GNU FreeFonts sans-serif for tcpdf

Introduction

In this tutorial we learn how to install php-tcpdf-gnu-free-sans-fonts on Fedora 36.

What is php-tcpdf-gnu-free-sans-fonts

This package allow to use system GNU FreeFont sans-serif font faces in TCPDF.

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

Install php-tcpdf-gnu-free-sans-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 php-tcpdf-gnu-free-sans-fonts using dnf by running the following command:

sudo dnf -y install php-tcpdf-gnu-free-sans-fonts

Install php-tcpdf-gnu-free-sans-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 php-tcpdf-gnu-free-sans-fonts using yum by running the following command:

sudo yum -y install php-tcpdf-gnu-free-sans-fonts

How To Uninstall php-tcpdf-gnu-free-sans-fonts on Fedora 36

To uninstall only the php-tcpdf-gnu-free-sans-fonts package we can use the following command:

sudo dnf remove php-tcpdf-gnu-free-sans-fonts

php-tcpdf-gnu-free-sans-fonts Package Contents on Fedora 36

/usr/share/php/tcpdf/fonts/freesans
/usr/share/php/tcpdf/fonts/freesans.ctg.z
/usr/share/php/tcpdf/fonts/freesans.php
/usr/share/php/tcpdf/fonts/freesansb
/usr/share/php/tcpdf/fonts/freesansb.ctg.z
/usr/share/php/tcpdf/fonts/freesansb.php
/usr/share/php/tcpdf/fonts/freesansbi
/usr/share/php/tcpdf/fonts/freesansbi.ctg.z
/usr/share/php/tcpdf/fonts/freesansbi.php
/usr/share/php/tcpdf/fonts/freesansi
/usr/share/php/tcpdf/fonts/freesansi.ctg.z
/usr/share/php/tcpdf/fonts/freesansi.php

References

Summary

In this tutorial we learn how to install php-tcpdf-gnu-free-sans-fonts on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).