How To Install perl-File-LibMagic on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-File-LibMagic
on Rocky Linux 8.
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 Rocky Linux 8. 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 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-LibMagic
using dnf
by running the following command:
sudo dnf -y install perl-File-LibMagic
Install perl-File-LibMagic 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-LibMagic
using yum
by running the following command:
sudo yum -y install perl-File-LibMagic
How To Uninstall perl-File-LibMagic on Rocky Linux 8
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 Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/b76d07e906e3ab5e55b3ff58aaae47f1690dae
/usr/lib64/perl5/vendor_perl/File
/usr/lib64/perl5/vendor_perl/File/LibMagic.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/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
References
Summary
In this tutorial we learn how to install perl-File-LibMagic
on Rocky Linux 8 using yum and dnf.