How To Install rubygem-factory_bot on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-factory_bot
on Fedora 36.
What is rubygem-factory_bot
Framework and DSL for defining and using factories - less error-prone, more explicit, and all-around easier to work with than fixtures.
We can use yum
or dnf
to install rubygem-factory_bot
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-factory_bot.
Install rubygem-factory_bot 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-factory_bot
using dnf
by running the following command:
sudo dnf -y install rubygem-factory_bot
Install rubygem-factory_bot 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-factory_bot
using yum
by running the following command:
sudo yum -y install rubygem-factory_bot
How To Uninstall rubygem-factory_bot on Fedora 36
To uninstall only the rubygem-factory_bot
package we can use the following command:
sudo dnf remove rubygem-factory_bot
rubygem-factory_bot Package Contents on Fedora 36
/usr/share/gems/gems/factory_bot-6.2.0
/usr/share/gems/gems/factory_bot-6.2.0/LICENSE
/usr/share/gems/gems/factory_bot-6.2.0/lib
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/aliases.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/attribute
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/attribute.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/attribute/association.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/attribute/dynamic.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/attribute/sequence.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/attribute_assigner.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/attribute_list.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/callback.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/callbacks_observer.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/configuration.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/declaration
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/declaration.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/declaration/association.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/declaration/dynamic.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/declaration/implicit.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/declaration_list.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/decorator
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/decorator.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/decorator/attribute_hash.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/decorator/disallows_duplicates_registry.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/decorator/invocation_tracker.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/decorator/new_constructor.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/definition.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/definition_hierarchy.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/definition_proxy.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/enum.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/errors.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/evaluation.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/evaluator.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/evaluator_class_definer.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/factory.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/factory_runner.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/find_definitions.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/internal.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/linter.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/null_factory.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/null_object.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/registry.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/reload.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/sequence.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/strategy
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/strategy/attributes_for.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/strategy/build.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/strategy/create.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/strategy/null.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/strategy/stub.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/strategy_calculator.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/strategy_syntax_method_registrar.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/syntax
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/syntax.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/syntax/default.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/syntax/methods.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/syntax_runner.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/trait.rb
/usr/share/gems/gems/factory_bot-6.2.0/lib/factory_bot/version.rb
/usr/share/gems/specifications/factory_bot-6.2.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-factory_bot
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).