How To Install asciidoc-doc on CentOS 7

In this tutorial we learn how to install asciidoc-doc on CentOS 7. asciidoc-doc is Additional documentation and examples for asciidoc

Introduction

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

What is asciidoc-doc

Additional documentation and examples for asciidoc.

We can use yum or dnf to install asciidoc-doc on CentOS 7. 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 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install asciidoc-doc using yum by running the following command:

sudo yum -y install asciidoc-doc

Install asciidoc-doc on CentOS 7 Using dnf

If you don’t have dnf installed you can install dnf first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install asciidoc-doc using dnf by running the following command:

sudo dnf -y install asciidoc-doc

How To Uninstall asciidoc-doc on CentOS 7

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

sudo dnf remove asciidoc-doc

asciidoc-doc Package Contents on CentOS 7

/usr/share/doc/asciidoc
/usr/share/doc/asciidoc/BUGS
/usr/share/doc/asciidoc/BUGS.txt
/usr/share/doc/asciidoc/CHANGELOG
/usr/share/doc/asciidoc/CHANGELOG.txt
/usr/share/doc/asciidoc/INSTALL
/usr/share/doc/asciidoc/INSTALL.txt
/usr/share/doc/asciidoc/README
/usr/share/doc/asciidoc/README.txt
/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.pdf
/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.epub
/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.pdf
/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.pdf
/usr/share/doc/asciidoc/doc/publishing-ebooks-with-asciidoc.txt
/usr/share/doc/asciidoc/doc/slidy-example.txt
/usr/share/doc/asciidoc/doc/slidy-example.txt.music-noship
/usr/share/doc/asciidoc/doc/slidy.txt
/usr/share/doc/asciidoc/doc/source-highlight-filter.pdf
/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.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/build-website.sh.music-noship
/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/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/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 7 using yum and dnf.