How To Install ctpl-doc on CentOS 8

ctpl-doc is Documentation for the CTPL library

Introduction

In this tutorial we learn how to install ctpl-doc on CentOS 8.

What is ctpl-doc

This package contains the HTML documentation reference for the CTPL library.

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

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

sudo dnf -y install ctpl-doc

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

sudo yum -y install ctpl-doc

How To Uninstall ctpl-doc on CentOS 8

To uninstall only the ctpl-doc package we can use the following command:

sudo dnf remove ctpl-doc

ctpl-doc Package Contents on CentOS 8

/usr/share/doc/ctpl-0.3.4/README
/usr/share/doc/ctpl-0.3.4/THANKS
/usr/share/gtk-doc/html/ctpl
/usr/share/gtk-doc/html/ctpl/annotation-glossary.html
/usr/share/gtk-doc/html/ctpl/api-index-deprecated.html
/usr/share/gtk-doc/html/ctpl/api-index-full.html
/usr/share/gtk-doc/html/ctpl/ch01.html
/usr/share/gtk-doc/html/ctpl/ch01s02.html
/usr/share/gtk-doc/html/ctpl/ch01s03.html
/usr/share/gtk-doc/html/ctpl/ch01s05.html
/usr/share/gtk-doc/html/ctpl/ch02.html
/usr/share/gtk-doc/html/ctpl/ctpl-CtplEnviron.html
/usr/share/gtk-doc/html/ctpl/ctpl-CtplEval.html
/usr/share/gtk-doc/html/ctpl/ctpl-CtplInputStream.html
/usr/share/gtk-doc/html/ctpl/ctpl-CtplLexer.html
/usr/share/gtk-doc/html/ctpl/ctpl-CtplLexerExpr.html
/usr/share/gtk-doc/html/ctpl/ctpl-CtplOutputStream.html
/usr/share/gtk-doc/html/ctpl/ctpl-CtplParser.html
/usr/share/gtk-doc/html/ctpl/ctpl-CtplToken.html
/usr/share/gtk-doc/html/ctpl/ctpl-CtplValue.html
/usr/share/gtk-doc/html/ctpl/ctpl-Generic-IO.html
/usr/share/gtk-doc/html/ctpl/ctpl-Version-information.html
/usr/share/gtk-doc/html/ctpl/ctpl.devhelp2
/usr/share/gtk-doc/html/ctpl/environment-description-syntax.html
/usr/share/gtk-doc/html/ctpl/home.png
/usr/share/gtk-doc/html/ctpl/index.html
/usr/share/gtk-doc/html/ctpl/index.sgml
/usr/share/gtk-doc/html/ctpl/left-insensitive.png
/usr/share/gtk-doc/html/ctpl/left.png
/usr/share/gtk-doc/html/ctpl/right-insensitive.png
/usr/share/gtk-doc/html/ctpl/right.png
/usr/share/gtk-doc/html/ctpl/style.css
/usr/share/gtk-doc/html/ctpl/up-insensitive.png
/usr/share/gtk-doc/html/ctpl/up.png

References

Summary

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