How To Install rubygem-tomlrb on Fedora 36

In this tutorial we learn how to install rubygem-tomlrb in Fedora 36. rubygem-tomlrb is TOML parser based on racc

Introduction

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

What is rubygem-tomlrb

A racc based toml parser.

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

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

sudo dnf -y install rubygem-tomlrb

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

sudo yum -y install rubygem-tomlrb

How To Uninstall rubygem-tomlrb on Fedora 36

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

sudo dnf remove rubygem-tomlrb

rubygem-tomlrb Package Contents on Fedora 36

/usr/share/gems/gems/tomlrb-2.0.1
/usr/share/gems/gems/tomlrb-2.0.1/LICENSE.txt
/usr/share/gems/gems/tomlrb-2.0.1/lib
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb.rb
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb/generated_parser.rb
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb/handler.rb
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb/local_date.rb
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb/local_date_time.rb
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb/local_time.rb
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb/parser.rb
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb/scanner.rb
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb/string_utils.rb
/usr/share/gems/gems/tomlrb-2.0.1/lib/tomlrb/version.rb
/usr/share/gems/specifications/tomlrb-2.0.1.gemspec

References

Summary

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