How To Install rubygem-abstract on Fedora 36

In this tutorial we learn how to install rubygem-abstract in Fedora 36. rubygem-abstract is Allows you to define an abstract method in Ruby

Introduction

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

What is rubygem-abstract

Small library that allows you to define an abstract method in Ruby.

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

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

sudo dnf -y install rubygem-abstract

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

sudo yum -y install rubygem-abstract

How To Uninstall rubygem-abstract on Fedora 36

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

sudo dnf remove rubygem-abstract

rubygem-abstract Package Contents on Fedora 36

/usr/share/gems/cache/abstract-1.0.0.gem
/usr/share/gems/gems/abstract-1.0.0
/usr/share/gems/gems/abstract-1.0.0/ChangeLog
/usr/share/gems/gems/abstract-1.0.0/README.txt
/usr/share/gems/gems/abstract-1.0.0/lib
/usr/share/gems/gems/abstract-1.0.0/lib/abstract.rb
/usr/share/gems/specifications/abstract-1.0.0.gemspec

References

Summary

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