How To Install rubygem-did_you_mean on Rocky Linux 8

In this tutorial we learn how to install rubygem-did_you_mean on Rocky Linux 8. rubygem-did_you_mean is “Did you mean?” experience in Ruby

Introduction

In this tutorial we learn how to install rubygem-did_you_mean on Rocky Linux 8.

What is rubygem-did_you_mean

“did you mean?” experience in Ruby one when you misspelled something.

We can use yum or dnf to install rubygem-did_you_mean on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-did_you_mean.

Install rubygem-did_you_mean on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rubygem-did_you_mean using dnf by running the following command:

sudo dnf -y install rubygem-did_you_mean

Install rubygem-did_you_mean on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygem-did_you_mean using yum by running the following command:

sudo yum -y install rubygem-did_you_mean

How To Uninstall rubygem-did_you_mean on Rocky Linux 8

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

sudo dnf remove rubygem-did_you_mean

rubygem-did_you_mean Package Contents on Rocky Linux 8

/usr/share/gems/gems/did_you_mean-1.2.0
/usr/share/gems/gems/did_you_mean-1.2.0/CHANGELOG.md
/usr/share/gems/gems/did_you_mean-1.2.0/Gemfile
/usr/share/gems/gems/did_you_mean-1.2.0/LICENSE.txt
/usr/share/gems/gems/did_you_mean-1.2.0/README.md
/usr/share/gems/gems/did_you_mean-1.2.0/Rakefile
/usr/share/gems/gems/did_you_mean-1.2.0/benchmark
/usr/share/gems/gems/did_you_mean-1.2.0/benchmark/jaro_winkler
/usr/share/gems/gems/did_you_mean-1.2.0/benchmark/jaro_winkler/memory_usage.rb
/usr/share/gems/gems/did_you_mean-1.2.0/benchmark/jaro_winkler/speed.rb
/usr/share/gems/gems/did_you_mean-1.2.0/benchmark/levenshtein
/usr/share/gems/gems/did_you_mean-1.2.0/benchmark/levenshtein/memory_usage.rb
/usr/share/gems/gems/did_you_mean-1.2.0/benchmark/levenshtein/speed.rb
/usr/share/gems/gems/did_you_mean-1.2.0/benchmark/memory_usage.rb
/usr/share/gems/gems/did_you_mean-1.2.0/did_you_mean.gemspec
/usr/share/gems/gems/did_you_mean-1.2.0/doc
/usr/share/gems/gems/did_you_mean-1.2.0/doc/CHANGELOG.md.erb
/usr/share/gems/gems/did_you_mean-1.2.0/doc/changelog_generator.rb
/usr/share/gems/gems/did_you_mean-1.2.0/evaluation
/usr/share/gems/gems/did_you_mean-1.2.0/evaluation/calculator.rb
/usr/share/gems/gems/did_you_mean-1.2.0/evaluation/dictionary_generator.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/experimental
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/experimental.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/experimental/initializer_name_correction.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/experimental/ivar_name_correction.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/formatters
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/formatters/plain_formatter.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/formatters/verbose_formatter.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/jaro_winkler.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/levenshtein.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checker.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/key_error_checker.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/null_checker.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/verbose.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/verbose_formatter.rb
/usr/share/gems/gems/did_you_mean-1.2.0/lib/did_you_mean/version.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test
/usr/share/gems/gems/did_you_mean-1.2.0/test/core_ext
/usr/share/gems/gems/did_you_mean-1.2.0/test/core_ext/name_error_extension_test.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/edit_distance
/usr/share/gems/gems/did_you_mean-1.2.0/test/edit_distance/jaro_winkler_test.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/experimental
/usr/share/gems/gems/did_you_mean-1.2.0/test/experimental/initializer_name_correction_test.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/experimental/method_name_checker_test.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/spell_checker_test.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/spell_checking
/usr/share/gems/gems/did_you_mean-1.2.0/test/spell_checking/class_name_check_test.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/spell_checking/key_name_check_test.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/spell_checking/method_name_check_test.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/spell_checking/uncorrectable_name_check_test.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/spell_checking/variable_name_check_test.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/test_helper.rb
/usr/share/gems/gems/did_you_mean-1.2.0/test/verbose_formatter_test.rb
/usr/share/gems/specifications/did_you_mean-1.2.0.gemspec

References

Summary

In this tutorial we learn how to install rubygem-did_you_mean on Rocky Linux 8 using yum and dnf.