file - Recognize the type of data in a file using "magic" numbers

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main amd64
Package filename file_5.35-4_amd64.deb
Package name file
Package version 5.35
Package release 4
Package architecture amd64
Package type deb
Category admin::forensics implemented-in::c interface::commandline role::program scope::utility use::analysing use::scanning utils works-with::file
License -
Maintainer Christoph Biedl <>
Download size 64.76 KB
Installed size 103.00 KB
The file command is "a file type guesser", a command-line tool that
tells you in words what kind of data a file contains.
This package contains the file program itself.


Package Version Architecture Repository
file_5.35-4_i386.deb 5.35 i386 Debian Main
file - - -


Name Value
libc6 >= 2.4
libmagic1 = 1:5.35-4
zlib1g >= 1:1.1.4


Type URL
Binary Package file_5.35-4_amd64.deb
Source Package file

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install file deb package:
    # sudo apt-get install file




2019-03-02 - Christoph Biedl <>
file (1:5.35-4) unstable; urgency=medium
* Cherry-pick fix for JSON detection. Closes: 922874
2019-03-01 - Christoph Biedl <>
file (1:5.35-3) unstable; urgency=medium
* Cherry-pick many commits since 5.35 release that seem wise to
include in buster.
* Closes: #922967 [CVE-2019-8904]
* Closes: #922968 [CVE-2019-8905 CVE-2019-8907]
* Closes: #922969 [CVE-2019-8906]
* Cherry-pick two documentation fix commits
2019-01-11 - Christoph Biedl <>
file (1:5.35-2) unstable; urgency=medium
* Upload to unstable
* Clarify manpage: seccomp is disabled for the time being (#917930)
2018-11-03 - Christoph Biedl <>
file (1:5.35-1) experimental; urgency=medium
* New upstream version 5.35, upload to experimental
2018-08-05 - Christoph Biedl <>
file (1:5.34-2) unstable; urgency=medium
* Cherry-pick from upstream: Handle [elf] files without program
headers gracefully. Closes: #882310
2018-07-26 - Christoph Biedl <>
file (1:5.34-1) experimental; urgency=medium
* New upstream version 5.34, upload to experimental
* Fixes:
- Detect FITS image data. Closes: #857999
- Don't mis-detect enigmail properties. Closes: #903318
* Also add preliminary magic for:
- AutoCAD Drawing Exchange Format. Closes: #702744
- Extended Display Identification Data (EDID). Closes: #896932
- SketchUp files. Closes: #903693
2018-06-11 - Christoph Biedl <>
file (1:5.33-3) unstable; urgency=high
* Avoid reading past the end of buffer. Closes: #901351
2018-04-29 - Christoph Biedl <>
file (1:5.33-2) unstable; urgency=medium
* Recognize ia64 and amd64 COFF files. Closes: #877643
* Disable erroneous DBPF detection that breaks SQLite and some
more. Closes: 897153
2018-04-24 - Christoph Biedl <>
file (1:5.33-1) unstable; urgency=low
* New upstream version 5.33
2018-02-13 - Christoph Biedl <>
file (1:5.32-2) unstable; urgency=medium
* No longer ship python-magic libraries, they are now provided
by src:python-magic

See Also

Package Description
filelight_18.04.1-1.1_amd64.deb show where your diskspace is being used
filepp_1.8.0-5_all.deb generic perl-based file pre-processor for text files
fileschanged_0.6.5-2_amd64.deb command-line utility that reports when files have been altered
filetea_0.1.18-1_amd64.deb Web-based file sharing system
filetraq_0.3_all.deb Small utility to keep track of changes in config files
filezilla-common_3.39.0-2_all.deb Architecture independent files for filezilla
filezilla_3.39.0-2_amd64.deb Full-featured graphical FTP/FTPS/SFTP client
filler_1.02-6.2_all.deb simple game where two players try to capture half the board
fillets-ng-data-cs_1.0.1-1_all.deb add-on sounds for Czech language spoken dialogs for fillets-ng
fillets-ng-data-nl_1.0.1-1_all.deb add-on sounds for Dutch language spoken dialogs for fillets-ng
fillets-ng-data_1.0.1-1_all.deb docs, graphics, music and international sounds for fillets-ng
fillets-ng_1.0.1-4+b1_amd64.deb puzzle game about witty fish saving the world sokoban-style
filter_2.6.3+ds1-3_amd64.deb program that filters local email via forward/pipe
filtergen_0.12.8-1_amd64.deb packet filter generator for various firewall systems
filters_2.55-3_amd64.deb collected filters, including B1FF and the Swedish Chef