How To Install ghc-stm-devel on Fedora 36

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

Introduction

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

What is ghc-stm-devel

This package provides the Haskell stm library development files.

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

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

sudo dnf -y install ghc-stm-devel

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

sudo yum -y install ghc-stm-devel

How To Uninstall ghc-stm-devel on Fedora 36

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

sudo dnf remove ghc-stm-devel

ghc-stm-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/stm-2.5.0.1.conf
/usr/lib64/ghc-8.10.5/stm-2.5.0.1
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM.dyn_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM.hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TArray.dyn_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TArray.hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TBQueue.dyn_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TBQueue.hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TChan.dyn_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TChan.hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TMVar.dyn_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TMVar.hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TQueue.dyn_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TQueue.hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TSem.dyn_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TSem.hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TVar.dyn_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Concurrent/STM/TVar.hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Monad
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Monad/STM.dyn_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Monad/STM.hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Sequential
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Sequential/STM.dyn_hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/Control/Sequential/STM.hi
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/HSstm-2.5.0.1.o
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/HSstm-2.5.0.1.p_o
/usr/lib64/ghc-8.10.5/stm-2.5.0.1/libHSstm-2.5.0.1.a

References

Summary

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