How To Install ghc-mime-types on Fedora 36

In this tutorial we learn how to install ghc-mime-types in Fedora 36. ghc-mime-types is Basic mime-type handling types and functions

Introduction

In this tutorial we learn how to install ghc-mime-types on Fedora 36.

What is ghc-mime-types

API docs and the README are available at <http

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

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

sudo dnf -y install ghc-mime-types

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

sudo yum -y install ghc-mime-types

How To Uninstall ghc-mime-types on Fedora 36

To uninstall only the ghc-mime-types package we can use the following command:

sudo dnf remove ghc-mime-types

ghc-mime-types Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/6dad5f0fc72ed83127f18404a57da75e1bb479
/usr/lib64/libHSmime-types-0.1.0.9-2V380vUHoPLCAwwtNmpVo5-ghc8.10.5.so
/usr/share/licenses/ghc-mime-types
/usr/share/licenses/ghc-mime-types/LICENSE

References

Summary

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