How To Install rubygem-rdiscount on Fedora 36

In this tutorial we learn how to install rubygem-rdiscount in Fedora 36. rubygem-rdiscount is Converts documents in Markdown syntax to HTML

Introduction

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

What is rubygem-rdiscount

Description It uses the excellent Discount processor by David Loren Parsons for this purpose, and thereby inherits Discount’s numerous useful extensions to the Markdown language.

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

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

sudo dnf -y install rubygem-rdiscount

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

sudo yum -y install rubygem-rdiscount

How To Uninstall rubygem-rdiscount on Fedora 36

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

sudo dnf remove rubygem-rdiscount

rubygem-rdiscount Package Contents on Fedora 36

/usr/bin/rdiscount
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/1e7e1ee7bd0f1d154cce2c2c6b04df7df4ed06
/usr/lib64/gems/ruby/rdiscount-2.2.0.2
/usr/lib64/gems/ruby/rdiscount-2.2.0.2/gem.build_complete
/usr/lib64/gems/ruby/rdiscount-2.2.0.2/rdiscount.so
/usr/share/gems/gems/rdiscount-2.2.0.2
/usr/share/gems/gems/rdiscount-2.2.0.2/BUILDING
/usr/share/gems/gems/rdiscount-2.2.0.2/COPYING
/usr/share/gems/gems/rdiscount-2.2.0.2/README.markdown
/usr/share/gems/gems/rdiscount-2.2.0.2/bin
/usr/share/gems/gems/rdiscount-2.2.0.2/bin/rdiscount
/usr/share/gems/gems/rdiscount-2.2.0.2/lib
/usr/share/gems/gems/rdiscount-2.2.0.2/lib/markdown.rb
/usr/share/gems/gems/rdiscount-2.2.0.2/lib/rdiscount.rb
/usr/share/gems/specifications/rdiscount-2.2.0.2.gemspec
/usr/share/man/man1/rdiscount.1.gz

References

Summary

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