How To Install ghc-hscolour-devel on CentOS 8

ghc-hscolour-devel is Haskell hscolour library development files

Introduction

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

What is ghc-hscolour-devel

This package provides the Haskell hscolour library development files.

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

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

sudo dnf -y install ghc-hscolour-devel

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

sudo yum -y install ghc-hscolour-devel

How To Uninstall ghc-hscolour-devel on CentOS 8

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

sudo dnf remove ghc-hscolour-devel

ghc-hscolour-devel Package Contents on CentOS 8

/usr/lib64/ghc-8.2.2/hscolour-1.24.2
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/ACSS.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/ACSS.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/ACSS.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/ANSI.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/ANSI.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/ANSI.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Anchors.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Anchors.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Anchors.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/CSS.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/CSS.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/CSS.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Classify.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Classify.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Classify.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/ColourHighlight.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/ColourHighlight.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/ColourHighlight.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Colourise.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Colourise.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Colourise.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/General.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/General.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/General.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/HTML.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/HTML.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/HTML.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/InlineCSS.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/InlineCSS.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/InlineCSS.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/LaTeX.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/LaTeX.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/LaTeX.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/MIRC.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/MIRC.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/MIRC.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Options.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Options.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Options.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Output.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Output.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/Output.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/TTY.dyn_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/TTY.hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/Language/Haskell/HsColour/TTY.p_hi
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/libHShscolour-1.24.2-BwYhdEbf2m3fdRy45AMG.a
/usr/lib64/ghc-8.2.2/hscolour-1.24.2/libHShscolour-1.24.2-BwYhdEbf2m3fdRy45AMG_p.a
/usr/lib64/ghc-8.2.2/package.conf.d/hscolour-1.24.2.conf
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-ACSS.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-ANSI.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-Anchors.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-CSS.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-Classify.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-ColourHighlight.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-Colourise.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-General.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-HTML.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-InlineCSS.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-LaTeX.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-MIRC.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-Options.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-Output.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour-TTY.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/Language-Haskell-HsColour.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/doc-index.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/haddock-util.js
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/hscolour.haddock
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/hscolour.txt
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/hslogo-16.png
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/index.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/minus.gif
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/ocean.css
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/plus.gif
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-ACSS.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-ANSI.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-Anchors.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-CSS.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-Classify.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-ColourHighlight.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-Colourise.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-General.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-HTML.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-InlineCSS.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-LaTeX.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-MIRC.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-Options.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-Output.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour-TTY.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/Language-Haskell-HsColour.html
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/src/hscolour.css
/usr/share/doc/ghc/html/libraries/hscolour-1.24.2/synopsis.png

References

Summary

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