How To Install rubygem-ruby_dep on Fedora 36

In this tutorial we learn how to install rubygem-ruby_dep in Fedora 36. rubygem-ruby_dep is Extracts supported Ruby versions from Travis file

Introduction

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

What is rubygem-ruby_dep

Creates a version constraint of supported Rubies,suitable for a gemspec file.

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

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

sudo dnf -y install rubygem-ruby_dep

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

sudo yum -y install rubygem-ruby_dep

How To Uninstall rubygem-ruby_dep on Fedora 36

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

sudo dnf remove rubygem-ruby_dep

rubygem-ruby_dep Package Contents on Fedora 36

/usr/share/gems/gems/ruby_dep-1.5.0
/usr/share/gems/gems/ruby_dep-1.5.0/LICENSE.txt
/usr/share/gems/gems/ruby_dep-1.5.0/lib
/usr/share/gems/gems/ruby_dep-1.5.0/lib/ruby_dep
/usr/share/gems/gems/ruby_dep-1.5.0/lib/ruby_dep.rb
/usr/share/gems/gems/ruby_dep-1.5.0/lib/ruby_dep/logger.rb
/usr/share/gems/gems/ruby_dep-1.5.0/lib/ruby_dep/quiet.rb
/usr/share/gems/gems/ruby_dep-1.5.0/lib/ruby_dep/ruby_version.rb
/usr/share/gems/gems/ruby_dep-1.5.0/lib/ruby_dep/travis
/usr/share/gems/gems/ruby_dep-1.5.0/lib/ruby_dep/travis.rb
/usr/share/gems/gems/ruby_dep-1.5.0/lib/ruby_dep/travis/ruby_version.rb
/usr/share/gems/gems/ruby_dep-1.5.0/lib/ruby_dep/version.rb
/usr/share/gems/gems/ruby_dep-1.5.0/lib/ruby_dep/warning.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec
/usr/share/gems/gems/ruby_dep-1.5.0/spec/acceptance
/usr/share/gems/gems/ruby_dep-1.5.0/spec/acceptance/fixtures
/usr/share/gems/gems/ruby_dep-1.5.0/spec/acceptance/fixtures/nil_logger.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/acceptance/fixtures/show_warnings.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/acceptance/fixtures/stdout_logger.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/acceptance/fixtures/warnings_silenced_by_require.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/acceptance/warnings_spec.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/lib
/usr/share/gems/gems/ruby_dep-1.5.0/spec/lib/ruby_dep
/usr/share/gems/gems/ruby_dep-1.5.0/spec/lib/ruby_dep/logger_spec.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/lib/ruby_dep/ruby_version_spec.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/lib/ruby_dep/travis
/usr/share/gems/gems/ruby_dep-1.5.0/spec/lib/ruby_dep/travis/ruby_version_spec.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/lib/ruby_dep/travis_spec.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/lib/ruby_dep/warning_spec.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/ruby_dep_spec.rb
/usr/share/gems/gems/ruby_dep-1.5.0/spec/spec_helper.rb
/usr/share/gems/specifications/ruby_dep-1.5.0.gemspec

References

Summary

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