How To Install mdi-fonts on Fedora 36

In this tutorial we learn how to install mdi-fonts in Fedora 36. mdi-fonts is mdi (XStatic packaging standard) fonts

Introduction

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

What is mdi-fonts

mdi fonts

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

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

sudo dnf -y install mdi-fonts

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

sudo yum -y install mdi-fonts

How To Uninstall mdi-fonts on Fedora 36

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

sudo dnf remove mdi-fonts

mdi-fonts Package Contents on Fedora 36

/usr/share/fonts/mdi
/usr/share/fonts/mdi/materialdesignicons-webfont.eot
/usr/share/fonts/mdi/materialdesignicons-webfont.svg
/usr/share/fonts/mdi/materialdesignicons-webfont.ttf
/usr/share/fonts/mdi/materialdesignicons-webfont.woff
/usr/share/fonts/mdi/materialdesignicons-webfont.woff2
/usr/share/licenses/mdi-fonts
/usr/share/licenses/mdi-fonts/LICENSE

References

Summary

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