How To Install ghc-xhtml-devel on CentOS 8

ghc-xhtml-devel is Haskell xhtml library development files

Introduction

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

What is ghc-xhtml-devel

This package provides the Haskell xhtml library development files.

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

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

sudo dnf -y install ghc-xhtml-devel

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

sudo yum -y install ghc-xhtml-devel

How To Uninstall ghc-xhtml-devel on CentOS 8

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

sudo dnf remove ghc-xhtml-devel

ghc-xhtml-devel Package Contents on CentOS 8

/usr/lib64/ghc-8.2.2/package.conf.d/xhtml-3000.2.2.conf
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/BlockTable.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/BlockTable.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/BlockTable.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Debug.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Debug.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Debug.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Extras.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Extras.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Extras.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Frameset
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Frameset.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Frameset.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Frameset.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Frameset/Attributes.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Frameset/Attributes.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Frameset/Attributes.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Frameset/Elements.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Frameset/Elements.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Frameset/Elements.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Internals.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Internals.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Internals.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Strict
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Strict.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Strict.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Strict.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Strict/Attributes.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Strict/Attributes.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Strict/Attributes.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Strict/Elements.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Strict/Elements.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Strict/Elements.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Table.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Table.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Table.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Transitional
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Transitional.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Transitional.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Transitional.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Transitional/Attributes.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Transitional/Attributes.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Transitional/Attributes.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Transitional/Elements.dyn_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Transitional/Elements.hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/Text/XHtml/Transitional/Elements.p_hi
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/libHSxhtml-3000.2.2.a
/usr/lib64/ghc-8.2.2/xhtml-3000.2.2/libHSxhtml-3000.2.2_p.a
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/Text-XHtml-Frameset.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/Text-XHtml-Strict.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/Text-XHtml-Table.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/Text-XHtml-Transitional.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/Text-XHtml.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-33.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-43.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-60.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-A.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-All.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-B.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-C.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-D.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-E.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-F.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-G.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-H.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-I.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-K.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-L.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-M.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-N.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-O.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-P.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-Q.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-R.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-S.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-T.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-U.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-V.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-W.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index-Y.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/doc-index.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/haddock-util.js
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/hslogo-16.png
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/index.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/minus.gif
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/ocean.css
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/plus.gif
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-BlockTable.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Debug.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Extras.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Frameset-Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Frameset-Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Frameset.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Internals.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Strict-Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Strict-Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Strict.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Table.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Transitional-Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Transitional-Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml-Transitional.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text-XHtml.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.BlockTable.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Debug.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Extras.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Frameset.Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Frameset.Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Frameset.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Internals.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Strict.Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Strict.Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Strict.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Table.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Transitional.Attributes.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Transitional.Elements.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.Transitional.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/Text.XHtml.html
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/highlight.js
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/hscolour.css
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/src/style.css
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/synopsis.png
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/xhtml.haddock
/usr/share/doc/ghc/html/libraries/xhtml-3000.2.2/xhtml.txt

References

Summary

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