How To Install ghc-manual on CentOS 8

ghc-manual is GHC manual

Introduction

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

What is ghc-manual

This package provides the User Guide and Haddock manual.

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

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

sudo dnf -y install ghc-manual

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

sudo yum -y install ghc-manual

How To Uninstall ghc-manual on CentOS 8

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

sudo dnf remove ghc-manual

ghc-manual Package Contents on CentOS 8

/usr/share/doc/ghc/html/haddock
/usr/share/doc/ghc/html/haddock/.buildinfo
/usr/share/doc/ghc/html/haddock/.doctrees
/usr/share/doc/ghc/html/haddock/.doctrees/environment.pickle
/usr/share/doc/ghc/html/haddock/.doctrees/index.doctree
/usr/share/doc/ghc/html/haddock/.doctrees/intro.doctree
/usr/share/doc/ghc/html/haddock/.doctrees/invoking.doctree
/usr/share/doc/ghc/html/haddock/.doctrees/markup.doctree
/usr/share/doc/ghc/html/haddock/_sources
/usr/share/doc/ghc/html/haddock/_sources/index.rst.txt
/usr/share/doc/ghc/html/haddock/_sources/intro.rst.txt
/usr/share/doc/ghc/html/haddock/_sources/invoking.rst.txt
/usr/share/doc/ghc/html/haddock/_sources/markup.rst.txt
/usr/share/doc/ghc/html/haddock/_static
/usr/share/doc/ghc/html/haddock/_static/ajax-loader.gif
/usr/share/doc/ghc/html/haddock/_static/alabaster.css
/usr/share/doc/ghc/html/haddock/_static/basic.css
/usr/share/doc/ghc/html/haddock/_static/comment-bright.png
/usr/share/doc/ghc/html/haddock/_static/comment-close.png
/usr/share/doc/ghc/html/haddock/_static/comment.png
/usr/share/doc/ghc/html/haddock/_static/custom.css
/usr/share/doc/ghc/html/haddock/_static/doctools.js
/usr/share/doc/ghc/html/haddock/_static/documentation_options.js
/usr/share/doc/ghc/html/haddock/_static/down-pressed.png
/usr/share/doc/ghc/html/haddock/_static/down.png
/usr/share/doc/ghc/html/haddock/_static/file.png
/usr/share/doc/ghc/html/haddock/_static/jquery-3.2.1.js
/usr/share/doc/ghc/html/haddock/_static/jquery.js
/usr/share/doc/ghc/html/haddock/_static/minus.png
/usr/share/doc/ghc/html/haddock/_static/plus.png
/usr/share/doc/ghc/html/haddock/_static/pygments.css
/usr/share/doc/ghc/html/haddock/_static/searchtools.js
/usr/share/doc/ghc/html/haddock/_static/underscore-1.3.1.js
/usr/share/doc/ghc/html/haddock/_static/underscore.js
/usr/share/doc/ghc/html/haddock/_static/up-pressed.png
/usr/share/doc/ghc/html/haddock/_static/up.png
/usr/share/doc/ghc/html/haddock/_static/websupport.js
/usr/share/doc/ghc/html/haddock/genindex.html
/usr/share/doc/ghc/html/haddock/index.html
/usr/share/doc/ghc/html/haddock/intro.html
/usr/share/doc/ghc/html/haddock/invoking.html
/usr/share/doc/ghc/html/haddock/markup.html
/usr/share/doc/ghc/html/haddock/objects.inv
/usr/share/doc/ghc/html/haddock/search.html
/usr/share/doc/ghc/html/haddock/searchindex.js
/usr/share/doc/ghc/html/index.html
/usr/share/doc/ghc/html/users_guide
/usr/share/doc/ghc/html/users_guide/.buildinfo
/usr/share/doc/ghc/html/users_guide/8.0.2-notes.html
/usr/share/doc/ghc/html/users_guide/8.2.1-notes.html
/usr/share/doc/ghc/html/users_guide/8.2.2-notes.html
/usr/share/doc/ghc/html/users_guide/_images
/usr/share/doc/ghc/html/users_guide/_images/prof_scc.svg
/usr/share/doc/ghc/html/users_guide/_sources
/usr/share/doc/ghc/html/users_guide/_sources/8.0.2-notes.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/8.2.1-notes.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/8.2.2-notes.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/bugs.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/codegens.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/debug-info.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/debugging.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/editing-guide.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/eventlog-formats.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/extending_ghc.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/ffi-chap.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/flags.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/ghc.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/ghci.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/glasgow_exts.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/gone_wrong.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/index.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/intro.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/lang.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/license.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/packages.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/parallel.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/phases.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/profiling.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/runghc.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/runtime_control.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/safe_haskell.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/separate_compilation.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/shared_libs.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/sooner.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/usage.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/using-concurrent.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/using-optimisation.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/using-warnings.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/using.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/utils.rst.txt
/usr/share/doc/ghc/html/users_guide/_sources/win32-dlls.rst.txt
/usr/share/doc/ghc/html/users_guide/_static
/usr/share/doc/ghc/html/users_guide/_static/Recip.png
/usr/share/doc/ghc/html/users_guide/_static/ajax-loader.gif
/usr/share/doc/ghc/html/users_guide/_static/basic.css
/usr/share/doc/ghc/html/users_guide/_static/comment-bright.png
/usr/share/doc/ghc/html/users_guide/_static/comment-close.png
/usr/share/doc/ghc/html/users_guide/_static/comment.png
/usr/share/doc/ghc/html/users_guide/_static/doctools.js
/usr/share/doc/ghc/html/users_guide/_static/documentation_options.js
/usr/share/doc/ghc/html/users_guide/_static/down-pressed.png
/usr/share/doc/ghc/html/users_guide/_static/down.png
/usr/share/doc/ghc/html/users_guide/_static/file.png
/usr/share/doc/ghc/html/users_guide/_static/ghc-theme.css
/usr/share/doc/ghc/html/users_guide/_static/jquery-3.2.1.js
/usr/share/doc/ghc/html/users_guide/_static/jquery.js
/usr/share/doc/ghc/html/users_guide/_static/logo.pdf
/usr/share/doc/ghc/html/users_guide/_static/minus.png
/usr/share/doc/ghc/html/users_guide/_static/opensearch.xml
/usr/share/doc/ghc/html/users_guide/_static/plus.png
/usr/share/doc/ghc/html/users_guide/_static/prof_scc.pdf
/usr/share/doc/ghc/html/users_guide/_static/prof_scc.svg
/usr/share/doc/ghc/html/users_guide/_static/pygments.css
/usr/share/doc/ghc/html/users_guide/_static/searchtools.js
/usr/share/doc/ghc/html/users_guide/_static/underscore-1.3.1.js
/usr/share/doc/ghc/html/users_guide/_static/underscore.js
/usr/share/doc/ghc/html/users_guide/_static/up-pressed.png
/usr/share/doc/ghc/html/users_guide/_static/up.png
/usr/share/doc/ghc/html/users_guide/_static/websupport.js
/usr/share/doc/ghc/html/users_guide/bugs.html
/usr/share/doc/ghc/html/users_guide/codegens.html
/usr/share/doc/ghc/html/users_guide/debug-info.html
/usr/share/doc/ghc/html/users_guide/debugging.html
/usr/share/doc/ghc/html/users_guide/editing-guide.html
/usr/share/doc/ghc/html/users_guide/eventlog-formats.html
/usr/share/doc/ghc/html/users_guide/extending_ghc.html
/usr/share/doc/ghc/html/users_guide/ffi-chap.html
/usr/share/doc/ghc/html/users_guide/flags.html
/usr/share/doc/ghc/html/users_guide/genindex.html
/usr/share/doc/ghc/html/users_guide/ghc.html
/usr/share/doc/ghc/html/users_guide/ghci.html
/usr/share/doc/ghc/html/users_guide/glasgow_exts.html
/usr/share/doc/ghc/html/users_guide/gone_wrong.html
/usr/share/doc/ghc/html/users_guide/index.html
/usr/share/doc/ghc/html/users_guide/intro.html
/usr/share/doc/ghc/html/users_guide/lang.html
/usr/share/doc/ghc/html/users_guide/license.html
/usr/share/doc/ghc/html/users_guide/objects.inv
/usr/share/doc/ghc/html/users_guide/packages.html
/usr/share/doc/ghc/html/users_guide/parallel.html
/usr/share/doc/ghc/html/users_guide/phases.html
/usr/share/doc/ghc/html/users_guide/profiling.html
/usr/share/doc/ghc/html/users_guide/runghc.html
/usr/share/doc/ghc/html/users_guide/runtime_control.html
/usr/share/doc/ghc/html/users_guide/safe_haskell.html
/usr/share/doc/ghc/html/users_guide/search.html
/usr/share/doc/ghc/html/users_guide/searchindex.js
/usr/share/doc/ghc/html/users_guide/separate_compilation.html
/usr/share/doc/ghc/html/users_guide/shared_libs.html
/usr/share/doc/ghc/html/users_guide/sooner.html
/usr/share/doc/ghc/html/users_guide/usage.html
/usr/share/doc/ghc/html/users_guide/using-concurrent.html
/usr/share/doc/ghc/html/users_guide/using-optimisation.html
/usr/share/doc/ghc/html/users_guide/using-warnings.html
/usr/share/doc/ghc/html/users_guide/using.html
/usr/share/doc/ghc/html/users_guide/utils.html
/usr/share/doc/ghc/html/users_guide/win32-dlls.html

References

Summary

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