How To Install rubygem-rdtool on Fedora 36

In this tutorial we learn how to install rubygem-rdtool in Fedora 36. rubygem-rdtool is Formatter for RD

Introduction

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

What is rubygem-rdtool

RD is multipurpose documentation format created for documentating Ruby and output of Ruby world. You can embed RD into Ruby script. And RD have neat syntax which help you to read document in Ruby script. On the other hand, RD have a feature for class reference.

We can use yum or dnf to install rubygem-rdtool on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-rdtool.

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

sudo dnf -y install rubygem-rdtool

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

sudo yum -y install rubygem-rdtool

How To Uninstall rubygem-rdtool on Fedora 36

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

sudo dnf remove rubygem-rdtool

rubygem-rdtool Package Contents on Fedora 36

/usr/bin/rd2
/usr/bin/rdswap
/usr/share/gems/gems/rdtool-0.6.38
/usr/share/gems/gems/rdtool-0.6.38/COPYING.txt
/usr/share/gems/gems/rdtool-0.6.38/HISTORY
/usr/share/gems/gems/rdtool-0.6.38/LICENSE.txt
/usr/share/gems/gems/rdtool-0.6.38/README.html
/usr/share/gems/gems/rdtool-0.6.38/README.ja.html
/usr/share/gems/gems/rdtool-0.6.38/README.rd
/usr/share/gems/gems/rdtool-0.6.38/README.rd.ja
/usr/share/gems/gems/rdtool-0.6.38/TODO
/usr/share/gems/gems/rdtool-0.6.38/bin
/usr/share/gems/gems/rdtool-0.6.38/bin/rd2
/usr/share/gems/gems/rdtool-0.6.38/bin/rdswap
/usr/share/gems/gems/rdtool-0.6.38/lib
/usr/share/gems/gems/rdtool-0.6.38/lib/rd
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/block-element.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/complex-list-item.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/desclist.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/document-struct.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/dot.rd2rc
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/element.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/filter.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/head-filter.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/inline-element.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/labeled-element.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/list.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/loose-struct.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/methodlist.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/output-format-visitor.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/package.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/parser-util.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/post-install
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rbl-file.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rbl-suite.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rd-struct.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rd2html-ext-lib.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rd2html-ext-opt.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rd2html-lib.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rd2html-opt.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rd2man-lib.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rd2rdo-lib.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rd2rmi-lib.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rdblockparser.ry
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rdblockparser.tab.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rdfmt.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rdinlineparser.ry
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rdinlineparser.tab.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/rdvisitor.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/reference-resolver.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/search-file.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/tree.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/version.rb
/usr/share/gems/gems/rdtool-0.6.38/lib/rd/visitor.rb
/usr/share/gems/specifications/rdtool-0.6.38.gemspec

References

Summary

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