How To Install ghc-haskeline-devel on CentOS 8

ghc-haskeline-devel is Haskell haskeline library development files

Introduction

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

What is ghc-haskeline-devel

This package provides the Haskell haskeline library development files.

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

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

sudo dnf -y install ghc-haskeline-devel

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

sudo yum -y install ghc-haskeline-devel

How To Uninstall ghc-haskeline-devel on CentOS 8

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

sudo dnf remove ghc-haskeline-devel

ghc-haskeline-devel Package Contents on CentOS 8

/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/DumbTerm.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/DumbTerm.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/DumbTerm.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/Posix
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/Posix.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/Posix.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/Posix.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/Posix/Encoder.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/Posix/Encoder.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/Posix/Encoder.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/Terminfo.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/Terminfo.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/Terminfo.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/WCWidth.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/WCWidth.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Backend/WCWidth.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/Completion.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/Completion.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/Completion.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/History.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/History.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/History.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/KillRing.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/KillRing.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/KillRing.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/Undo.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/Undo.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Command/Undo.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Completion.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Completion.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Completion.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Directory.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Directory.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Directory.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Emacs.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Emacs.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Emacs.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/History.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/History.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/History.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/IO.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/IO.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/IO.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/InputT.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/InputT.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/InputT.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Key.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Key.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Key.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/LineState.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/LineState.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/LineState.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/MonadException.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/MonadException.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/MonadException.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Monads.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Monads.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Monads.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Prefs.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Prefs.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Prefs.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Recover.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Recover.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Recover.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/RunCommand.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/RunCommand.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/RunCommand.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Term.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Term.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Term.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Vi.dyn_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Vi.hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/System/Console/Haskeline/Vi.p_hi
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/libHShaskeline-0.7.4.0.a
/usr/lib64/ghc-8.2.2/haskeline-0.7.4.0/libHShaskeline-0.7.4.0_p.a
/usr/lib64/ghc-8.2.2/package.conf.d/haskeline-0.7.4.0.conf
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/System-Console-Haskeline-Completion.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/System-Console-Haskeline-History.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/System-Console-Haskeline-IO.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/System-Console-Haskeline-MonadException.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/System-Console-Haskeline.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/doc-index.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/haddock-util.js
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/haskeline.haddock
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/haskeline.txt
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/hslogo-16.png
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/index.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/minus.gif
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/ocean.css
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/plus.gif
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Backend-DumbTerm.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Backend-Posix-Encoder.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Backend-Posix.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Backend-Terminfo.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Backend-WCWidth.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Backend.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Command-Completion.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Command-History.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Command-KillRing.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Command-Undo.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Command.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Completion.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Directory.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Emacs.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-History.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-IO.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-InputT.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Key.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-LineState.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-MonadException.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Monads.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Prefs.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Recover.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-RunCommand.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Term.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline-Vi.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System-Console-Haskeline.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Backend.DumbTerm.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Backend.Posix.Encoder.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Backend.Posix.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Backend.Terminfo.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Backend.WCWidth.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Backend.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Command.Completion.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Command.History.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Command.KillRing.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Command.Undo.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Command.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Completion.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Directory.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Emacs.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.History.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.IO.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.InputT.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Key.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.LineState.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.MonadException.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Monads.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Prefs.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Recover.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.RunCommand.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Term.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.Vi.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/System.Console.Haskeline.html
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/hscolour.css
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/src/style.css
/usr/share/doc/ghc/html/libraries/haskeline-0.7.4.0/synopsis.png

References

Summary

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