How To Install ghc-array-devel on CentOS 8

ghc-array-devel is Haskell array library development files

Introduction

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

What is ghc-array-devel

This package provides the Haskell array library development files.

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

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

sudo dnf -y install ghc-array-devel

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

sudo yum -y install ghc-array-devel

How To Uninstall ghc-array-devel on CentOS 8

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

sudo dnf remove ghc-array-devel

ghc-array-devel Package Contents on CentOS 8

/usr/lib64/ghc-8.2.2/array-0.5.2.0
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Base.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Base.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Base.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IArray.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IArray.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IArray.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IO
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IO.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IO.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IO.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IO/Internals.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IO/Internals.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IO/Internals.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IO/Safe.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IO/Safe.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/IO/Safe.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/MArray
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/MArray.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/MArray.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/MArray.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/MArray/Safe.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/MArray/Safe.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/MArray/Safe.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/ST
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/ST.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/ST.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/ST.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/ST/Safe.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/ST/Safe.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/ST/Safe.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Storable
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Storable.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Storable.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Storable.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Storable/Internals.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Storable/Internals.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Storable/Internals.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Storable/Safe.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Storable/Safe.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Storable/Safe.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Unboxed.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Unboxed.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Unboxed.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Unsafe.dyn_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Unsafe.hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/Data/Array/Unsafe.p_hi
/usr/lib64/ghc-8.2.2/array-0.5.2.0/libHSarray-0.5.2.0.a
/usr/lib64/ghc-8.2.2/array-0.5.2.0/libHSarray-0.5.2.0_p.a
/usr/lib64/ghc-8.2.2/package.conf.d/array-0.5.2.0.conf
/usr/share/doc/ghc/html/libraries/array-0.5.2.0
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-IArray.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-IO-Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-IO.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-MArray-Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-MArray.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-ST-Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-ST.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-Storable-Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-Storable.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-Unboxed.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array-Unsafe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/Data-Array.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/array.haddock
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/array.txt
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/doc-index.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/haddock-util.js
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/hslogo-16.png
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/index.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/minus.gif
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/ocean.css
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/plus.gif
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-Base.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-IArray.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-IO-Internals.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-IO-Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-IO.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-MArray-Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-MArray.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-ST-Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-ST.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-Storable-Internals.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-Storable-Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-Storable.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-Unboxed.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array-Unsafe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data-Array.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.Base.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.IArray.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.IO.Internals.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.IO.Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.IO.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.MArray.Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.MArray.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.ST.Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.ST.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.Storable.Internals.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.Storable.Safe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.Storable.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.Unboxed.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.Unsafe.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/Data.Array.html
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/highlight.js
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/hscolour.css
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/src/style.css
/usr/share/doc/ghc/html/libraries/array-0.5.2.0/synopsis.png

References

Summary

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