Install libfile-libmagic-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libfile-libmagic-perl
Description:
Perl interface to libmagic for determining file type
The File::LibMagic module is a simple perl interface to libmagic from the file-4.x or file-5.x package from Christos Zoulas (ftp://ftp.astron.com/pub/file/). . Libmagic is a library for detecting file type, and works like file(1).
Homepage: https://metacpan.org/release/File-LibMagic
Version: 1.16-1
Section: universe/perl