How To Install rubygem-crack on Fedora 36

In this tutorial we learn how to install rubygem-crack in Fedora 36. rubygem-crack is Really simple JSON and XML parsing, ripped from Merb and Rails

Introduction

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

What is rubygem-crack

Really simple JSON and XML parsing, ripped from Merb and Rails.

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

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

sudo dnf -y install rubygem-crack

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

sudo yum -y install rubygem-crack

How To Uninstall rubygem-crack on Fedora 36

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

sudo dnf remove rubygem-crack

rubygem-crack Package Contents on Fedora 36

/usr/share/gems/gems/crack-0.4.5
/usr/share/gems/gems/crack-0.4.5/lib
/usr/share/gems/gems/crack-0.4.5/lib/crack
/usr/share/gems/gems/crack-0.4.5/lib/crack.rb
/usr/share/gems/gems/crack-0.4.5/lib/crack/json.rb
/usr/share/gems/gems/crack-0.4.5/lib/crack/util.rb
/usr/share/gems/gems/crack-0.4.5/lib/crack/version.rb
/usr/share/gems/gems/crack-0.4.5/lib/crack/xml.rb
/usr/share/gems/specifications/crack-0.4.5.gemspec

References

Summary

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