How To Install asciidoc-doc on CentOS 8

asciidoc-doc is Additional documentation and examples for asciidoc

Introduction

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

What is asciidoc-doc

Additional documentation and examples for asciidoc.

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

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

sudo dnf -y install asciidoc-doc

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

sudo yum -y install asciidoc-doc

How To Uninstall asciidoc-doc on CentOS 8

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

sudo dnf remove asciidoc-doc

asciidoc-doc Package Contents on CentOS 8

/usr/share/doc/asciidoc/dblatex
/usr/share/doc/asciidoc/doc
/usr/share/doc/asciidoc/doc/a2x.1
/usr/share/doc/asciidoc/doc/a2x.1.txt
/usr/share/doc/asciidoc/doc/article-docinfo.xml
/usr/share/doc/asciidoc/doc/article.txt
/usr/share/doc/asciidoc/doc/asciidoc.1
/usr/share/doc/asciidoc/doc/asciidoc.1.txt
/usr/share/doc/asciidoc/doc/asciidoc.conf
/usr/share/doc/asciidoc/doc/asciidoc.dict
/usr/share/doc/asciidoc/doc/asciidoc.txt
/usr/share/doc/asciidoc/doc/asciidocapi.txt
/usr/share/doc/asciidoc/doc/asciimathml.txt
/usr/share/doc/asciidoc/doc/book-multi.txt
/usr/share/doc/asciidoc/doc/book.txt
/usr/share/doc/asciidoc/doc/customers.csv
/usr/share/doc/asciidoc/doc/epub-notes.txt
/usr/share/doc/asciidoc/doc/faq.txt
/usr/share/doc/asciidoc/doc/images
/usr/share/doc/asciidoc/doc/latex-backend.txt
/usr/share/doc/asciidoc/doc/latex-bugs.txt
/usr/share/doc/asciidoc/doc/latex-filter.txt
/usr/share/doc/asciidoc/doc/latexmath.txt
/usr/share/doc/asciidoc/doc/latexmathml.txt
/usr/share/doc/asciidoc/doc/main.aap
/usr/share/doc/asciidoc/doc/music-filter.txt
/usr/share/doc/asciidoc/doc/publishing-ebooks-with-asciidoc.txt
/usr/share/doc/asciidoc/doc/slidy-example.txt
/usr/share/doc/asciidoc/doc/slidy.txt
/usr/share/doc/asciidoc/doc/source-highlight-filter.txt
/usr/share/doc/asciidoc/doc/testasciidoc.txt
/usr/share/doc/asciidoc/docbook-xsl
/usr/share/doc/asciidoc/examples
/usr/share/doc/asciidoc/examples/website
/usr/share/doc/asciidoc/examples/website/ASCIIMathML.js
/usr/share/doc/asciidoc/examples/website/CHANGELOG.txt
/usr/share/doc/asciidoc/examples/website/INSTALL.txt
/usr/share/doc/asciidoc/examples/website/LaTeXMathML.js
/usr/share/doc/asciidoc/examples/website/README-website.txt
/usr/share/doc/asciidoc/examples/website/README.txt
/usr/share/doc/asciidoc/examples/website/a2x.1.txt
/usr/share/doc/asciidoc/examples/website/asciidoc-website.dict
/usr/share/doc/asciidoc/examples/website/asciidoc.css
/usr/share/doc/asciidoc/examples/website/asciidoc.js
/usr/share/doc/asciidoc/examples/website/asciidocapi.txt
/usr/share/doc/asciidoc/examples/website/asciimathml.txt
/usr/share/doc/asciidoc/examples/website/build-website.sh
/usr/share/doc/asciidoc/examples/website/customers.csv
/usr/share/doc/asciidoc/examples/website/epub-notes.txt
/usr/share/doc/asciidoc/examples/website/faq.txt
/usr/share/doc/asciidoc/examples/website/favicon.ico
/usr/share/doc/asciidoc/examples/website/images
/usr/share/doc/asciidoc/examples/website/index.txt
/usr/share/doc/asciidoc/examples/website/latex-backend.txt
/usr/share/doc/asciidoc/examples/website/latex-bugs.txt
/usr/share/doc/asciidoc/examples/website/latex-filter.txt
/usr/share/doc/asciidoc/examples/website/latexmathml.txt
/usr/share/doc/asciidoc/examples/website/layout1.conf
/usr/share/doc/asciidoc/examples/website/layout1.css
/usr/share/doc/asciidoc/examples/website/layout2.conf
/usr/share/doc/asciidoc/examples/website/layout2.css
/usr/share/doc/asciidoc/examples/website/main.aap
/usr/share/doc/asciidoc/examples/website/manpage.txt
/usr/share/doc/asciidoc/examples/website/music-filter.txt
/usr/share/doc/asciidoc/examples/website/newlists.txt
/usr/share/doc/asciidoc/examples/website/newtables.txt
/usr/share/doc/asciidoc/examples/website/plugins.txt
/usr/share/doc/asciidoc/examples/website/publishing-ebooks-with-asciidoc.txt
/usr/share/doc/asciidoc/examples/website/slidy-example.txt
/usr/share/doc/asciidoc/examples/website/slidy.txt
/usr/share/doc/asciidoc/examples/website/source-highlight-filter.txt
/usr/share/doc/asciidoc/examples/website/support.txt
/usr/share/doc/asciidoc/examples/website/testasciidoc.txt
/usr/share/doc/asciidoc/examples/website/userguide.txt
/usr/share/doc/asciidoc/examples/website/version83.txt
/usr/share/doc/asciidoc/examples/website/xhtml11-quirks.css
/usr/share/doc/asciidoc/images
/usr/share/doc/asciidoc/javascripts
/usr/share/doc/asciidoc/stylesheets

References

Summary

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