How To Install ghc-ghci-devel on CentOS 8

ghc-ghci-devel is Haskell ghci library development files

Introduction

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

What is ghc-ghci-devel

This package provides the Haskell ghci library development files.

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

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

sudo dnf -y install ghc-ghci-devel

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

sudo yum -y install ghc-ghci-devel

How To Uninstall ghc-ghci-devel on CentOS 8

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

sudo dnf remove ghc-ghci-devel

ghc-ghci-devel Package Contents on CentOS 8

/usr/lib64/ghc-8.2.2/ghci-8.2.2
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/BreakArray.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/BreakArray.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/BreakArray.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/CreateBCO.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/CreateBCO.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/CreateBCO.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/FFI.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/FFI.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/FFI.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/InfoTable.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/InfoTable.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/InfoTable.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/Message.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/Message.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/Message.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/ObjLink.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/ObjLink.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/ObjLink.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/RemoteTypes.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/RemoteTypes.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/RemoteTypes.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/ResolvedBCO.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/ResolvedBCO.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/ResolvedBCO.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/Run.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/Run.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/Run.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/Signals.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/Signals.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/Signals.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/StaticPtrTable.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/StaticPtrTable.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/StaticPtrTable.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/TH
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/TH.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/TH.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/TH.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/TH/Binary.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/TH/Binary.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/GHCi/TH/Binary.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/SizedSeq.dyn_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/SizedSeq.hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/SizedSeq.p_hi
/usr/lib64/ghc-8.2.2/ghci-8.2.2/libHSghci-8.2.2.a
/usr/lib64/ghc-8.2.2/ghci-8.2.2/libHSghci-8.2.2_p.a
/usr/lib64/ghc-8.2.2/package.conf.d/ghci-8.2.2.conf
/usr/share/doc/ghc/html/libraries/ghci-8.2.2
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-BreakArray.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-CreateBCO.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-FFI.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-InfoTable.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-Message.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-ObjLink.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-RemoteTypes.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-ResolvedBCO.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-Run.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-Signals.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-StaticPtrTable.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-TH-Binary.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/GHCi-TH.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/SizedSeq.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-A.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-All.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-B.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-C.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-D.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-E.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-F.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-G.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-H.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-I.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-L.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-M.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-N.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-P.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-Q.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-R.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-S.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-T.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-U.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index-W.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/doc-index.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/ghci.haddock
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/ghci.txt
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/haddock-util.js
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/hslogo-16.png
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/index.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/minus.gif
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/ocean.css
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/plus.gif
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-BreakArray.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-CreateBCO.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-FFI.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-InfoTable.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-Message.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-ObjLink.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-RemoteTypes.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-ResolvedBCO.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-Run.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-Signals.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-StaticPtrTable.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-TH-Binary.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi-TH.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.BreakArray.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.CreateBCO.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.FFI.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.InfoTable.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.Message.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.ObjLink.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.RemoteTypes.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.ResolvedBCO.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.Run.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.Signals.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.StaticPtrTable.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.TH.Binary.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/GHCi.TH.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/SizedSeq.html
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/highlight.js
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/hscolour.css
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/src/style.css
/usr/share/doc/ghc/html/libraries/ghci-8.2.2/synopsis.png

References

Summary

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