How To Install rubygem-rmail on Fedora 36

In this tutorial we learn how to install rubygem-rmail in Fedora 36. rubygem-rmail is A MIME mail parsing and generation library

Introduction

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

What is rubygem-rmail

RMail is a lightweight mail library containing various utility classes and modules that allow ruby scripts to parse, modify, and generate MIME mail messages.

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

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

sudo dnf -y install rubygem-rmail

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

sudo yum -y install rubygem-rmail

How To Uninstall rubygem-rmail on Fedora 36

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

sudo dnf remove rubygem-rmail

rubygem-rmail Package Contents on Fedora 36

/usr/share/gems/gems/rmail-1.1.4
/usr/share/gems/gems/rmail-1.1.4/lib
/usr/share/gems/gems/rmail-1.1.4/lib/rmail
/usr/share/gems/gems/rmail-1.1.4/lib/rmail.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/address.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/header.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/mailbox
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/mailbox.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/mailbox/mboxreader.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/message.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/parser
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/parser.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/parser/multipart.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/parser/pushbackreader.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/serialize.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/utils.rb
/usr/share/gems/gems/rmail-1.1.4/lib/rmail/version.rb
/usr/share/gems/specifications/rmail-1.1.4.gemspec
/usr/share/licenses/rubygem-rmail
/usr/share/licenses/rubygem-rmail/LICENSE

References

Summary

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