File (libmagic)

Version: 
5.30
Release date: 
Wednesday, 5 April, 2017

License:

Interface:

Authors/Port authors:

File is an implementation of the UNIX File command. It knows the "magic number" of several thousands of file types.

"Magic numbers" are used basically in UNIX environments to identify the binary files format.

This implementation source code is available under Ian Darwin's license (copyright but distributable).

This software is distributed in two modes:
  • as compressed package that you have to download and manually install; if prerequisites are required, you will have to manually install them too;
  • as RPM package; you can install it using your favorite rpm package manager, that will take care to download and install both the software and its prerequisites.
Choose the installation mode that you prefer. Please note that not all the versions are available in both the installation modes.

Installation with rpm

This program is installable using the rpm package manager. See below for the install string. Required prerequisites are automatically processed by the package manager and, if needed, downloaded and installed.

file-5.30-2.oc00 (05/04/2017)
Repository: Netlabs stable
Install with ANPM or running the command:
yum install file
file-devel-5.30-2.oc00 (05/04/2017)
Repository: Netlabs stable
Development files for file, not needed by the end user. Install with ANPM or running the command:
yum install file-devel
file-debuginfo-5.30-2.oc00 (05/04/2017)
Repository: Netlabs stable
Install with ANPM or running the command:
yum install file-debuginfo
file-libs-5.30-2.oc00 (05/04/2017)
Repository: Netlabs stable
Install with ANPM or running the command:
yum install file-libs

Manual installation

Program is distributed as ZIP package: download to temporary directory and unpack to destination folder, better if in path. Add the statement "SET MAGIC=X:/PATH_TO/magic.mgc" in CONFIG.SYS. See below for download link(s).

Following ones are the download links for manual installation:

File (libmagic) v. 5.0.4 (23/1/2010) Readme/What's new
Hello all, I ported file v5.0.4 to Os/2 Located @ ftp://ftp.astron.com:/pub/file/file-5.0.4.tar.gz File v5.0.4 for OS/2. 2009-08-19 15:55 Christos Zoulas <christos@zoulas.com> * Fix 3 bugs (From Ian Darwin): - file_showstr could move one past the end of the array - parse_apple did not nul terminate the string in the overflow case - parse_mime truncated the wrong string in the overflow case 2009-07-15 10:05 Christos Zoulas <christos@zoulas.com> * Fix logic for including mygetopts.h * Make cdf.c compile again with debugging * Add the necessary field handling for crystal reports files to work 2009-06-23 01:34 Reuben Thomas <rrt@sc3d.org> * Stop "(if" identifying Lisp files, that's plain dumb! 2009-06-09 22:13 Reuben Thomas <rrt@sc3d.org> * Add a couple of missing MP3 MIME types. 2009-05-27 23:00 Reuben Thomas <rrt@sc3d.org> * Add full range of hash-bang tests for Python and Ruby. * Add MIME types for Python and Ruby scripts. 2009-05-13 10:44 Christos Zoulas <christos@zoulas.com> * off by one in parsing hw capabilities in elf (Cheng Renquan) File is an implementation of the Unix File(1) command. It knows the 'magic number' of several thousands of file types 2009-05-06 10:25 Christos Zoulas <christos@zoulas.com> * Avoid null dereference in cdf code (Drew Yao) * More cdf bounds checks and overflow checks 2009-05-01 18:37 Christos Zoulas <christos@zoulas.com> * Buffer overflow fixes from Drew Yao Also wanne thankz Christos Zoulas for fixing some warnings :)
 hobbes.nmsu.edu/download/pub/os2/dev/util/file.v5.0.4.os2.zip
File (libmagic) v. 4.26 (13/9/2008) Readme/What's new
Hello all, I ported File v4.26 for os/2 Located @ http://www.sfr-fresh.com/unix/misc/file-4.26.tar.gz File v4.26 for OS/2. File is an implementation of the Unix File(1) command. It knows the 'magic number' of several thousands of file types
 www.os2site.com/sw/util/file/file426.zip
Record updated last time on: 12/06/2018 - 15:15

GTranslate

English Dutch French German Korean Russian Swedish

Add new comment