Install libfile-mmagic-xs-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libfile-mmagic-xs-perl
Description:
Perl module to guess file type (à la mod_mime_magic)
File::MMagic::XS 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.
Homepage: https://metacpan.org/release/File-MMagic-XS
Version: 0.09008-2build3
Section: universe/perl