How To Install ghc-mime-types-devel on Fedora 36

In this tutorial we learn how to install ghc-mime-types-devel in Fedora 36. ghc-mime-types-devel is Haskell mime-types library development files

Introduction

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

What is ghc-mime-types-devel

This package provides the Haskell mime-types library development files.

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

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

sudo dnf -y install ghc-mime-types-devel

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

sudo yum -y install ghc-mime-types-devel

How To Uninstall ghc-mime-types-devel on Fedora 36

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

sudo dnf remove ghc-mime-types-devel

ghc-mime-types-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/mime-types-0.1.0.9
/usr/lib64/ghc-8.10.5/mime-types-0.1.0.9/Network
/usr/lib64/ghc-8.10.5/mime-types-0.1.0.9/Network/Mime.dyn_hi
/usr/lib64/ghc-8.10.5/mime-types-0.1.0.9/Network/Mime.hi
/usr/lib64/ghc-8.10.5/mime-types-0.1.0.9/libHSmime-types-0.1.0.9-2V380vUHoPLCAwwtNmpVo5.a
/usr/lib64/ghc-8.10.5/package.conf.d/mime-types-0.1.0.9.conf
/usr/share/doc/ghc-mime-types-devel
/usr/share/doc/ghc-mime-types-devel/ChangeLog.md
/usr/share/doc/ghc-mime-types-devel/README.md

References

Summary

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