How To Install rubygem-mime-types-data on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-mime-types-data
on Fedora 36.
What is rubygem-mime-types-data
mime-types-data provides a registry for information about MIME media type definitions. It can be used with the Ruby mime-types library or other software to determine defined filename extensions for MIME types, or to use filename extensions to look up the likely MIME type definitions.
We can use yum
or dnf
to install rubygem-mime-types-data
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-mime-types-data.
Install rubygem-mime-types-data 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-mime-types-data
using dnf
by running the following command:
sudo dnf -y install rubygem-mime-types-data
Install rubygem-mime-types-data 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-mime-types-data
using yum
by running the following command:
sudo yum -y install rubygem-mime-types-data
How To Uninstall rubygem-mime-types-data on Fedora 36
To uninstall only the rubygem-mime-types-data
package we can use the following command:
sudo dnf remove rubygem-mime-types-data
rubygem-mime-types-data Package Contents on Fedora 36
/usr/share/gems/gems/mime-types-data-3.2020.1104
/usr/share/gems/gems/mime-types-data-3.2020.1104/Licence.md
/usr/share/gems/gems/mime-types-data-3.2020.1104/data
/usr/share/gems/gems/mime-types-data-3.2020.1104/data/mime-types.json
/usr/share/gems/gems/mime-types-data-3.2020.1104/data/mime.content_type.column
/usr/share/gems/gems/mime-types-data-3.2020.1104/data/mime.docs.column
/usr/share/gems/gems/mime-types-data-3.2020.1104/data/mime.encoding.column
/usr/share/gems/gems/mime-types-data-3.2020.1104/data/mime.flags.column
/usr/share/gems/gems/mime-types-data-3.2020.1104/data/mime.friendly.column
/usr/share/gems/gems/mime-types-data-3.2020.1104/data/mime.pext.column
/usr/share/gems/gems/mime-types-data-3.2020.1104/data/mime.use_instead.column
/usr/share/gems/gems/mime-types-data-3.2020.1104/data/mime.xrefs.column
/usr/share/gems/gems/mime-types-data-3.2020.1104/lib
/usr/share/gems/gems/mime-types-data-3.2020.1104/lib/mime
/usr/share/gems/gems/mime-types-data-3.2020.1104/lib/mime-types-data.rb
/usr/share/gems/gems/mime-types-data-3.2020.1104/lib/mime/types
/usr/share/gems/gems/mime-types-data-3.2020.1104/lib/mime/types/data.rb
/usr/share/gems/gems/mime-types-data-3.2020.1104/types
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/application.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/audio.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/chemical.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/conference.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/drawing.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/font.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/image.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/message.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/model.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/multipart.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/text.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/video.yaml
/usr/share/gems/gems/mime-types-data-3.2020.1104/types/world.yaml
/usr/share/gems/specifications/mime-types-data-3.2020.1104.gemspec
References
Summary
In this tutorial we learn how to install rubygem-mime-types-data
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).