How To Install ghc-vector-th-unbox on Fedora 36

In this tutorial we learn how to install ghc-vector-th-unbox in Fedora 36. ghc-vector-th-unbox is Deriver for Data.Vector.Unboxed using Template Haskell

Introduction

In this tutorial we learn how to install ghc-vector-th-unbox on Fedora 36.

What is ghc-vector-th-unbox

A Template Haskell deriver for unboxed vectors, given a pair of coercion functions to and from some existing type with an Unbox instance. Refer to “Data.Vector.Unboxed.Deriving” for documentation and examples.

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

Install ghc-vector-th-unbox 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-vector-th-unbox using dnf by running the following command:

sudo dnf -y install ghc-vector-th-unbox

Install ghc-vector-th-unbox 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-vector-th-unbox using yum by running the following command:

sudo yum -y install ghc-vector-th-unbox

How To Uninstall ghc-vector-th-unbox on Fedora 36

To uninstall only the ghc-vector-th-unbox package we can use the following command:

sudo dnf remove ghc-vector-th-unbox

ghc-vector-th-unbox Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/679b0a12f39bb1a9cd20fe96f0a3633ba63338
/usr/lib64/libHSvector-th-unbox-0.2.1.9-B2EYchoggRGQQZQdRqOo8-ghc8.10.5.so
/usr/share/licenses/ghc-vector-th-unbox
/usr/share/licenses/ghc-vector-th-unbox/LICENSE

References

Summary

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