How To Install mdi-common on Fedora 36

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

Introduction

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

What is mdi-common

Common mdi static content (CSS and SCSS)

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

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

sudo dnf -y install mdi-common

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

sudo yum -y install mdi-common

How To Uninstall mdi-common on Fedora 36

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

sudo dnf remove mdi-common

mdi-common Package Contents on Fedora 36

/usr/share/javascript/mdi
/usr/share/javascript/mdi/css
/usr/share/javascript/mdi/css/materialdesignicons.css
/usr/share/javascript/mdi/css/materialdesignicons.css.map
/usr/share/javascript/mdi/css/materialdesignicons.min.css
/usr/share/javascript/mdi/css/materialdesignicons.min.css.map
/usr/share/javascript/mdi/fonts
/usr/share/javascript/mdi/fonts/materialdesignicons-webfont.eot
/usr/share/javascript/mdi/fonts/materialdesignicons-webfont.svg
/usr/share/javascript/mdi/fonts/materialdesignicons-webfont.ttf
/usr/share/javascript/mdi/fonts/materialdesignicons-webfont.woff
/usr/share/javascript/mdi/fonts/materialdesignicons-webfont.woff2
/usr/share/javascript/mdi/scss
/usr/share/javascript/mdi/scss/_core.scss
/usr/share/javascript/mdi/scss/_extras.scss
/usr/share/javascript/mdi/scss/_functions.scss
/usr/share/javascript/mdi/scss/_icons.scss
/usr/share/javascript/mdi/scss/_path.scss
/usr/share/javascript/mdi/scss/_variables.scss
/usr/share/javascript/mdi/scss/materialdesignicons.scss
/usr/share/licenses/mdi-common
/usr/share/licenses/mdi-common/LICENSE

References

Summary

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