How To Install perl-File-LibMagic on Fedora 36

In this tutorial we learn how to install perl-File-LibMagic in Fedora 36. perl-File-LibMagic is Perl wrapper/interface for libmagic

Introduction

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

What is perl-File-LibMagic

The File file (4.x or 5.x) package.

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

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

sudo dnf -y install perl-File-LibMagic

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

sudo yum -y install perl-File-LibMagic

How To Uninstall perl-File-LibMagic on Fedora 36

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

sudo dnf remove perl-File-LibMagic

perl-File-LibMagic Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/9327e97ffdc30c366a9ae98a9fb7222164a992
/usr/lib64/perl5/vendor_perl/File
/usr/lib64/perl5/vendor_perl/File/LibMagic
/usr/lib64/perl5/vendor_perl/File/LibMagic.pm
/usr/lib64/perl5/vendor_perl/File/LibMagic/Constants.pm
/usr/lib64/perl5/vendor_perl/auto/File
/usr/lib64/perl5/vendor_perl/auto/File/LibMagic
/usr/lib64/perl5/vendor_perl/auto/File/LibMagic/LibMagic.so
/usr/share/doc/perl-File-LibMagic
/usr/share/doc/perl-File-LibMagic/CODE_OF_CONDUCT.md
/usr/share/doc/perl-File-LibMagic/CONTRIBUTING.md
/usr/share/doc/perl-File-LibMagic/Changes
/usr/share/doc/perl-File-LibMagic/README.md
/usr/share/licenses/perl-File-LibMagic
/usr/share/licenses/perl-File-LibMagic/LICENSE
/usr/share/man/man3/File::LibMagic.3pm.gz
/usr/share/man/man3/File::LibMagic::Constants.3pm.gz

References

Summary

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