How To Install perl-File-MMagic-XS on Fedora 36

In this tutorial we learn how to install perl-File-MMagic-XS in Fedora 36. perl-File-MMagic-XS is Guess file type with XS

Introduction

In this tutorial we learn how to install perl-File-MMagic-XS on Fedora 36.

What is perl-File-MMagic-XS

This is a port of Apache2 mod_mime_magic.c in Perl, written in XS with the aim of being efficient and fast especially for applications that need to be run for an extended amount of time.

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

Install perl-File-MMagic-XS 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 perl-File-MMagic-XS using dnf by running the following command:

sudo dnf -y install perl-File-MMagic-XS

Install perl-File-MMagic-XS 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 perl-File-MMagic-XS using yum by running the following command:

sudo yum -y install perl-File-MMagic-XS

How To Uninstall perl-File-MMagic-XS on Fedora 36

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

sudo dnf remove perl-File-MMagic-XS

perl-File-MMagic-XS Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/0e543910366d22db95eec83952e74b57575e55
/usr/lib64/perl5/vendor_perl/File
/usr/lib64/perl5/vendor_perl/File/MMagic
/usr/lib64/perl5/vendor_perl/File/MMagic/XS.pm
/usr/lib64/perl5/vendor_perl/File/MMagic/benchmark.pl
/usr/lib64/perl5/vendor_perl/File/MMagic/magic
/usr/lib64/perl5/vendor_perl/auto/File
/usr/lib64/perl5/vendor_perl/auto/File/MMagic
/usr/lib64/perl5/vendor_perl/auto/File/MMagic/XS
/usr/lib64/perl5/vendor_perl/auto/File/MMagic/XS/XS.so
/usr/share/doc/perl-File-MMagic-XS
/usr/share/doc/perl-File-MMagic-XS/Changes
/usr/share/man/man3/File::MMagic::XS.3pm.gz

References

Summary

In this tutorial we learn how to install perl-File-MMagic-XS on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).