How To Install rubygem-asciidoctor on CentOS 7
Introduction
In this tutorial we learn how to install rubygem-asciidoctor
on CentOS 7.
What is rubygem-asciidoctor
A fast, open source text processor and publishing toolchain, written in Ruby, for transforming AsciiDoc markup into HTML 5, DocBook 4.5, DocBook 5.0 and custom output formats. The transformation from AsciiDoc to custom output formats is performed by running the nodes in the parsed document tree through a collection of templates written in a template language supported by Tilt.
We can use yum
or dnf
to install rubygem-asciidoctor
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-asciidoctor.
Install rubygem-asciidoctor on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install rubygem-asciidoctor
using yum
by running the following command:
Install rubygem-asciidoctor on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install rubygem-asciidoctor
using dnf
by running the following command:
How To Uninstall rubygem-asciidoctor on CentOS 7
To uninstall only the rubygem-asciidoctor
package we can use the following command:
References
Summary
In this tutorial we learn how to install rubygem-asciidoctor
on CentOS 7 using yum
and dnf
.