How To Install rubygem-marcel on Fedora 36

In this tutorial we learn how to install rubygem-marcel in Fedora 36. rubygem-marcel is Simple mime type detection using magic numbers, file names, and extensions

Introduction

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

What is rubygem-marcel

Simple mime type detection using magic numbers, file names, and extensions.

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

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

sudo dnf -y install rubygem-marcel

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

sudo yum -y install rubygem-marcel

How To Uninstall rubygem-marcel on Fedora 36

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

sudo dnf remove rubygem-marcel

rubygem-marcel Package Contents on Fedora 36

/usr/share/gems/gems/marcel-1.0.2
/usr/share/gems/gems/marcel-1.0.2/APACHE-LICENSE
/usr/share/gems/gems/marcel-1.0.2/MIT-LICENSE
/usr/share/gems/gems/marcel-1.0.2/lib
/usr/share/gems/gems/marcel-1.0.2/lib/marcel
/usr/share/gems/gems/marcel-1.0.2/lib/marcel.rb
/usr/share/gems/gems/marcel-1.0.2/lib/marcel/magic.rb
/usr/share/gems/gems/marcel-1.0.2/lib/marcel/mime_type
/usr/share/gems/gems/marcel-1.0.2/lib/marcel/mime_type.rb
/usr/share/gems/gems/marcel-1.0.2/lib/marcel/mime_type/definitions.rb
/usr/share/gems/gems/marcel-1.0.2/lib/marcel/tables.rb
/usr/share/gems/gems/marcel-1.0.2/lib/marcel/version.rb
/usr/share/gems/specifications/marcel-1.0.2.gemspec

References

Summary

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