How To Install ghc-transformers-devel on CentOS 8

ghc-transformers-devel is Haskell transformers library development files

Introduction

In this tutorial we learn how to install ghc-transformers-devel on CentOS 8.

What is ghc-transformers-devel

This package provides the Haskell transformers library development files.

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

Install ghc-transformers-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install ghc-transformers-devel using dnf by running the following command:

sudo dnf -y install ghc-transformers-devel

Install ghc-transformers-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install ghc-transformers-devel using yum by running the following command:

sudo yum -y install ghc-transformers-devel

How To Uninstall ghc-transformers-devel on CentOS 8

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

sudo dnf remove ghc-transformers-devel

ghc-transformers-devel Package Contents on CentOS 8

/usr/lib64/ghc-8.2.2/package.conf.d/transformers-0.5.2.0.conf
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Applicative
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Applicative/Backwards.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Applicative/Backwards.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Applicative/Backwards.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Applicative/Lift.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Applicative/Lift.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Applicative/Lift.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Signatures.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Signatures.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Signatures.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Class.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Class.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Class.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Cont.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Cont.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Cont.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Error.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Error.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Error.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Except.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Except.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Except.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Identity.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Identity.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Identity.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/List.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/List.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/List.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Maybe.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Maybe.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Maybe.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/RWS
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/RWS.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/RWS.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/RWS.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/RWS/Lazy.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/RWS/Lazy.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/RWS/Lazy.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/RWS/Strict.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/RWS/Strict.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/RWS/Strict.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Reader.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Reader.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Reader.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/State
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/State.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/State.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/State.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/State/Lazy.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/State/Lazy.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/State/Lazy.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/State/Strict.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/State/Strict.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/State/Strict.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Writer
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Writer.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Writer.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Writer.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Writer/Lazy.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Writer/Lazy.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Writer/Lazy.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Writer/Strict.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Writer/Strict.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Control/Monad/Trans/Writer/Strict.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Data
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Data/Functor
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Data/Functor/Constant.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Data/Functor/Constant.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Data/Functor/Constant.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Data/Functor/Reverse.dyn_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Data/Functor/Reverse.hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/Data/Functor/Reverse.p_hi
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/libHStransformers-0.5.2.0.a
/usr/lib64/ghc-8.2.2/transformers-0.5.2.0/libHStransformers-0.5.2.0_p.a
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Applicative-Backwards.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Applicative-Lift.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Signatures.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-Class.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-Cont.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-Error.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-Except.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-Identity.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-List.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-Maybe.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-RWS-Lazy.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-RWS-Strict.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-RWS.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-Reader.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-State-Lazy.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-State-Strict.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-State.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-Writer-Lazy.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-Writer-Strict.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Control-Monad-Trans-Writer.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Data-Functor-Constant.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/Data-Functor-Reverse.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/doc-index.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/haddock-util.js
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/hslogo-16.png
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/index.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/minus.gif
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/ocean.css
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/plus.gif
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Applicative-Backwards.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Applicative-Lift.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Signatures.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-Class.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-Cont.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-Error.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-Except.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-Identity.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-List.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-Maybe.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-RWS-Lazy.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-RWS-Strict.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-RWS.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-Reader.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-State-Lazy.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-State-Strict.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-State.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-Writer-Lazy.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-Writer-Strict.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control-Monad-Trans-Writer.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Applicative.Backwards.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Applicative.Lift.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Signatures.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.Class.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.Cont.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.Error.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.Except.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.Identity.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.List.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.Maybe.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.RWS.Lazy.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.RWS.Strict.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.RWS.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.Reader.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.State.Lazy.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.State.Strict.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.State.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.Writer.Lazy.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.Writer.Strict.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Control.Monad.Trans.Writer.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Data-Functor-Constant.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Data-Functor-Reverse.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Data.Functor.Constant.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/Data.Functor.Reverse.html
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/hscolour.css
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/src/style.css
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/synopsis.png
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/transformers.haddock
/usr/share/doc/ghc/html/libraries/transformers-0.5.2.0/transformers.txt

References

Summary

In this tutorial we learn how to install ghc-transformers-devel on CentOS 8 using yum and dnf.