How To Install rubygem-moped on Fedora 36

In this tutorial we learn how to install rubygem-moped in Fedora 36. rubygem-moped is A MongoDB driver for Ruby

Introduction

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

What is rubygem-moped

Moped is a MongoDB driver for Ruby, which exposes a simple, elegant, and fast API. Moped is the supported driver for Mongoid from version 3 and higher. Moped is composed of three parts BSON specification, an implementation of the Mongo Wire Protocol, and the driver itself.

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

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

sudo dnf -y install rubygem-moped

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

sudo yum -y install rubygem-moped

How To Uninstall rubygem-moped on Fedora 36

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

sudo dnf remove rubygem-moped

rubygem-moped Package Contents on Fedora 36

/usr/share/gems/gems/moped-1.5.3
/usr/share/gems/gems/moped-1.5.3/LICENSE
/usr/share/gems/gems/moped-1.5.3/lib
/usr/share/gems/gems/moped-1.5.3/lib/moped
/usr/share/gems/gems/moped-1.5.3/lib/moped.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/binary.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/code.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/document.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/array.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/boolean.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/false_class.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/float.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/hash.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/integer.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/nil_class.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/object.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/regexp.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/string.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/symbol.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/time.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/extensions/true_class.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/max_key.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/min_key.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/object_id.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/timestamp.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/bson/types.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/cluster.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/collection.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/connection.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/cursor.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/database.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/errors.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/indexes.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/logging.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/mongo_uri.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/node.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/command.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/commands
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/commands.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/commands/authenticate.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/delete.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/get_more.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/insert.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/kill_cursors.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/message.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/query.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/reply.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/protocol/update.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/query.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/session
/usr/share/gems/gems/moped-1.5.3/lib/moped/session.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/session/context.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/sockets
/usr/share/gems/gems/moped-1.5.3/lib/moped/sockets/connectable.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/sockets/ssl.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/sockets/tcp.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/threaded.rb
/usr/share/gems/gems/moped-1.5.3/lib/moped/version.rb
/usr/share/gems/specifications/moped-1.5.3.gemspec

References

Summary

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