How To Install ghc-pandoc-types on Fedora 36

In this tutorial we learn how to install ghc-pandoc-types in Fedora 36. ghc-pandoc-types is Types for representing a structured document

Introduction

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

What is ghc-pandoc-types

This package contains definitions for the Pandoc data structure, which is used by pandoc to represent structured documents. These definitions used to live in the pandoc package, but they have been split off, so that other packages can use them without drawing in all of pandoc’s dependencies, and pandoc itself can depend on packages (like citeproc-hs) that use them.

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

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

sudo dnf -y install ghc-pandoc-types

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

sudo yum -y install ghc-pandoc-types

How To Uninstall ghc-pandoc-types on Fedora 36

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

sudo dnf remove ghc-pandoc-types

ghc-pandoc-types Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/a891c738acba8e6ccb7853b07cf0070e12b444
/usr/lib64/libHSpandoc-types-1.22-8dp3LCrEYGK5GnimCWOcUz-ghc8.10.5.so
/usr/share/licenses/ghc-pandoc-types
/usr/share/licenses/ghc-pandoc-types/LICENSE

References

Summary

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