How To Install rubygem-test_declarative on Fedora 36

In this tutorial we learn how to install rubygem-test_declarative in Fedora 36. rubygem-test_declarative is Simply adds a declarative test method syntax to test/unit

Introduction

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

What is rubygem-test_declarative

Simply adds a declarative test method syntax to test/unit.

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

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

sudo dnf -y install rubygem-test_declarative

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

sudo yum -y install rubygem-test_declarative

How To Uninstall rubygem-test_declarative on Fedora 36

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

sudo dnf remove rubygem-test_declarative

rubygem-test_declarative Package Contents on Fedora 36

/usr/share/gems/gems/test_declarative-0.0.5
/usr/share/gems/gems/test_declarative-0.0.5/MIT-LICENSE
/usr/share/gems/gems/test_declarative-0.0.5/lib
/usr/share/gems/gems/test_declarative-0.0.5/lib/test_declarative
/usr/share/gems/gems/test_declarative-0.0.5/lib/test_declarative.rb
/usr/share/gems/gems/test_declarative-0.0.5/lib/test_declarative/version.rb
/usr/share/gems/specifications/test_declarative-0.0.5.gemspec

References

Summary

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