How To Install rubygem-asciidoctor on Fedora 36

In this tutorial we learn how to install rubygem-asciidoctor in Fedora 36. rubygem-asciidoctor is A fast, open source AsciiDoc implementation in Ruby

Introduction

In this tutorial we learn how to install rubygem-asciidoctor on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-asciidoctor.

Install rubygem-asciidoctor on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rubygem-asciidoctor

Install rubygem-asciidoctor on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install rubygem-asciidoctor

How To Uninstall rubygem-asciidoctor on Fedora 36

To uninstall only the rubygem-asciidoctor package we can use the following command:

sudo dnf remove rubygem-asciidoctor

rubygem-asciidoctor Package Contents on Fedora 36

/usr/bin/asciidoctor
/usr/share/gems/gems/asciidoctor-2.0.15
/usr/share/gems/gems/asciidoctor-2.0.15/CHANGELOG.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/LICENSE
/usr/share/gems/gems/asciidoctor-2.0.15/README-de.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/README-fr.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/README-jp.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/README-zh_CN.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/README.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/bin
/usr/share/gems/gems/asciidoctor-2.0.15/bin/asciidoctor
/usr/share/gems/gems/asciidoctor-2.0.15/data
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-ar.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-be.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-bg.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-ca.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-cs.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-da.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-de.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-en.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-es.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-fa.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-fi.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-fr.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-hu.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-id.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-it.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-ja.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-ko.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-nb.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-nl.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-nn.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-pl.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-pt.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-pt_BR.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-ro.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-ru.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-sr.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-sr_Latn.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-sv.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-tr.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-uk.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-zh_CN.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes-zh_TW.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/locale/attributes.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/reference
/usr/share/gems/gems/asciidoctor-2.0.15/data/reference/syntax.adoc
/usr/share/gems/gems/asciidoctor-2.0.15/data/stylesheets
/usr/share/gems/gems/asciidoctor-2.0.15/data/stylesheets/asciidoctor-default.css
/usr/share/gems/gems/asciidoctor-2.0.15/data/stylesheets/coderay-asciidoctor.css
/usr/share/gems/gems/asciidoctor-2.0.15/lib
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/abstract_block.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/abstract_node.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/attribute_list.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/block.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/callouts.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/cli
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/cli.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/cli/invoker.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/cli/options.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/convert.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/converter
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/converter.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/converter/composite.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/converter/docbook5.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/converter/html5.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/converter/manpage.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/converter/template.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext/float
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext/float/truncate.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext/hash
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext/hash/merge.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext/match_data
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext/match_data/names.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext/nil_or_empty.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext/regexp
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/core_ext/regexp/is_match.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/document.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/extensions.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/helpers.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/inline.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/list.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/load.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/logging.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/parser.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/path_resolver.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/reader.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/rouge_ext.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/rx.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/section.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/stylesheets.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/substitutors.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/syntax_highlighter
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/syntax_highlighter.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/syntax_highlighter/coderay.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/syntax_highlighter/highlightjs.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/syntax_highlighter/html_pipeline.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/syntax_highlighter/prettify.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/syntax_highlighter/pygments.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/syntax_highlighter/rouge.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/table.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/timings.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/version.rb
/usr/share/gems/gems/asciidoctor-2.0.15/lib/asciidoctor/writer.rb
/usr/share/gems/specifications/asciidoctor-2.0.15.gemspec
/usr/share/man/man1/asciidoctor.1.gz

References

Summary

In this tutorial we learn how to install rubygem-asciidoctor on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).