How To Install rubygem-bson on Fedora 36

In this tutorial we learn how to install rubygem-bson in Fedora 36. rubygem-bson is Ruby implementation of the BSON specification

Introduction

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

What is rubygem-bson

A fully featured BSON specification implementation in Ruby.

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

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

sudo dnf -y install rubygem-bson

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

sudo yum -y install rubygem-bson

How To Uninstall rubygem-bson on Fedora 36

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

sudo dnf remove rubygem-bson

rubygem-bson Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/04c591eb81c1838f363aefda592188b4b3fcf6
/usr/lib64/gems/ruby/bson-4.10.0
/usr/lib64/gems/ruby/bson-4.10.0/bson_native.so
/usr/lib64/gems/ruby/bson-4.10.0/gem.build_complete
/usr/share/gems/gems/bson-4.10.0
/usr/share/gems/gems/bson-4.10.0/LICENSE
/usr/share/gems/gems/bson-4.10.0/NOTICE
/usr/share/gems/gems/bson-4.10.0/lib
/usr/share/gems/gems/bson-4.10.0/lib/bson
/usr/share/gems/gems/bson-4.10.0/lib/bson.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/active_support.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/array.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/binary.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/boolean.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/code.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/code_with_scope.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/config.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/date.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/date_time.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/db_pointer.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/decimal128
/usr/share/gems/gems/bson-4.10.0/lib/bson/decimal128.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/decimal128/builder.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/document.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/environment.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/error.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/ext_json.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/false_class.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/float.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/hash.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/int32.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/int64.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/integer.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/json.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/max_key.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/min_key.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/nil_class.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/object.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/object_id.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/open_struct.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/regexp.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/registry.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/specialized.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/string.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/symbol.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/time.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/time_with_zone.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/timestamp.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/true_class.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/undefined.rb
/usr/share/gems/gems/bson-4.10.0/lib/bson/version.rb
/usr/share/gems/specifications/bson-4.10.0.gemspec

References

Summary

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