How To Install rubygem-multi_json on Fedora 36

In this tutorial we learn how to install rubygem-multi_json in Fedora 36. rubygem-multi_json is A common interface to multiple JSON libraries

Introduction

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

What is rubygem-multi_json

A common interface to multiple JSON libraries, including Oj, Yajl, the JSON gem (with C-extensions), the pure-Ruby JSON gem, NSJSONSerialization, gson.rb, JrJackson, and OkJson.

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

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

sudo dnf -y install rubygem-multi_json

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

sudo yum -y install rubygem-multi_json

How To Uninstall rubygem-multi_json on Fedora 36

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

sudo dnf remove rubygem-multi_json

rubygem-multi_json Package Contents on Fedora 36

/usr/share/gems/gems/multi_json-1.15.0
/usr/share/gems/gems/multi_json-1.15.0/LICENSE.md
/usr/share/gems/gems/multi_json-1.15.0/lib
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapter.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapter_error.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapters
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapters/gson.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapters/jr_jackson.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapters/json_common.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapters/json_gem.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapters/json_pure.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapters/nsjsonserialization.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapters/oj.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapters/ok_json.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/adapters/yajl.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/convertible_hash_keys.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/options.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/options_cache.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/parse_error.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/vendor
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/vendor/okjson.rb
/usr/share/gems/gems/multi_json-1.15.0/lib/multi_json/version.rb
/usr/share/gems/specifications/multi_json-1.15.0.gemspec

References

Summary

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