How To Install fonts-rpm-templates on Fedora 36

In this tutorial we learn how to install fonts-rpm-templates in Fedora 36. fonts-rpm-templates is Example fonts packages rpm spec templates

Introduction

In this tutorial we learn how to install fonts-rpm-templates on Fedora 36.

What is fonts-rpm-templates

This package contains documented rpm spec templates showcasing how to use the macros provided by fonts-rpm-macros to create fonts packages.

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

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

sudo dnf -y install fonts-rpm-templates

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

sudo yum -y install fonts-rpm-templates

How To Uninstall fonts-rpm-templates on Fedora 36

To uninstall only the fonts-rpm-templates package we can use the following command:

sudo dnf remove fonts-rpm-templates

fonts-rpm-templates Package Contents on Fedora 36

/usr/share/doc/fonts-rpm-macros
/usr/share/doc/fonts-rpm-macros/README.md
/usr/share/doc/fonts-rpm-macros/changelog.txt
/usr/share/fontconfig/templates
/usr/share/fontconfig/templates/basic-font-template.conf
/usr/share/fontconfig/templates/basic-font-template.txt
/usr/share/fontconfig/templates/fontconfig-generics.txt
/usr/share/fontconfig/templates/fontconfig-priorities.txt
/usr/share/fontconfig/templates/index.txt
/usr/share/fontconfig/templates/l10n-font-template.conf
/usr/share/fontconfig/templates/l10n-font-template.txt
/usr/share/fontconfig/templates/merging-font-template.conf
/usr/share/fontconfig/templates/merging-font-template.txt
/usr/share/fontconfig/templates/remapping-font-template.conf
/usr/share/fontconfig/templates/remapping-font-template.txt
/usr/share/fontconfig/templates/rescaling-font-template.conf
/usr/share/fontconfig/templates/rescaling-font-template.txt
/usr/share/fontconfig/templates/substitution-font-template.conf
/usr/share/fontconfig/templates/substitution-font-template.txt
/usr/share/licenses/fonts-rpm-macros
/usr/share/licenses/fonts-rpm-macros/LICENSE-templates.txt
/usr/share/rpmdevtools/fedora/spectemplate-fonts-0-simple-bare.spec
/usr/share/rpmdevtools/fedora/spectemplate-fonts-0-simple.spec
/usr/share/rpmdevtools/fedora/spectemplate-fonts-1-full-bare.spec
/usr/share/rpmdevtools/fedora/spectemplate-fonts-1-full.spec
/usr/share/rpmdevtools/fedora/spectemplate-fonts-2-multi-bare.spec
/usr/share/rpmdevtools/fedora/spectemplate-fonts-2-multi.spec
/usr/share/rpmdevtools/fedora/spectemplate-fonts-3-sub-bare.spec
/usr/share/rpmdevtools/fedora/spectemplate-fonts-3-sub.spec

References

Summary

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