How To Install perl-File-MimeInfo on Rocky Linux 8

In this tutorial we learn how to install perl-File-MimeInfo on Rocky Linux 8. perl-File-MimeInfo is Determine file type and open application

Introduction

In this tutorial we learn how to install perl-File-MimeInfo on Rocky Linux 8.

What is perl-File-MimeInfo

This module can be used to determine the mime type of a file. It tries to implement the freedesktop specification for a shared MIME database.

We can use yum or dnf to install perl-File-MimeInfo on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-File-MimeInfo.

Install perl-File-MimeInfo on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-File-MimeInfo using dnf by running the following command:

sudo dnf -y install perl-File-MimeInfo

Install perl-File-MimeInfo on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-File-MimeInfo using yum by running the following command:

sudo yum -y install perl-File-MimeInfo

How To Uninstall perl-File-MimeInfo on Rocky Linux 8

To uninstall only the perl-File-MimeInfo package we can use the following command:

sudo dnf remove perl-File-MimeInfo

perl-File-MimeInfo Package Contents on Rocky Linux 8

/usr/bin/mimeopen
/usr/bin/mimetype
/usr/share/doc/perl-File-MimeInfo
/usr/share/doc/perl-File-MimeInfo/Changes
/usr/share/man/man1/mimeopen.1.gz
/usr/share/man/man1/mimetype.1.gz
/usr/share/man/man3/File::MimeInfo.3pm.gz
/usr/share/man/man3/File::MimeInfo::Applications.3pm.gz
/usr/share/man/man3/File::MimeInfo::Cookbook.3pm.gz
/usr/share/man/man3/File::MimeInfo::Magic.3pm.gz
/usr/share/man/man3/File::MimeInfo::Rox.3pm.gz
/usr/share/perl5/vendor_perl/File
/usr/share/perl5/vendor_perl/File/MimeInfo
/usr/share/perl5/vendor_perl/File/MimeInfo.pm
/usr/share/perl5/vendor_perl/File/MimeInfo/Applications.pm
/usr/share/perl5/vendor_perl/File/MimeInfo/Cookbook.pod
/usr/share/perl5/vendor_perl/File/MimeInfo/Magic.pm
/usr/share/perl5/vendor_perl/File/MimeInfo/Rox.pm

References

Summary

In this tutorial we learn how to install perl-File-MimeInfo on Rocky Linux 8 using yum and dnf.