[File] Testing file binary without installing

Christos Zoulas christos at zoulas.com
Sat Jan 31 15:39:26 UTC 2026


run ./src/file -m ./magic/magic.mgc

christos

> On Jan 31, 2026, at 9:15 AM, ploumfile at offpunk.net wrote:
> 
> Hello,
> 
> I would like to be able to test a custom file binary but without installing it and messing with my system.
> 
> I’ve compiled file from source (using github clone, even if I hate github) but running /src/file gives me the error:
> 
> file: could not find any valid magic files! (No such file or directory)
> 
> 
> Is there a way to skip the make install step?
> 
> Thanks
> -- 
> Ploum - Lionel Dricot
> 
> Blog: https://www.ploum.net
> Bikepunk: https://bikepunk.fr/
> -- 
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20260131/3b6a09f8/attachment.asc>


More information about the File mailing list