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

Dependency Availability

Arch Linux
All Versions
file
 
CentOS
All Versions
Not available
 
Cygwin
All Versions
Not available
 
Debian
Sarge
file
Etch
file
Lenny
file
Squeeze
file
Wheezy
file
Jessie
file
Stretch
file
Buster
file
Bullseye
file
Bookworm
file
Sid (Unstable)
file
 
Fedora
Fedora 39
file
Fedora 40
file
Fedora 41
file
 
FreeBSD
All Versions
file
 
Gentoo Linux
All Versions
sys-apps/file
 
Mandrake/Mandriva Linux
All Versions
Not available
 
OpenEmbedded/Yocto Project
All Versions
file@openembedded-core
 
openSUSE
All Versions
Not available
 
Mac OS X
Leopard
Not available
Snow Leopard
Not available
Lion
Not available
Mountain lion
Not available
Mavericks
Not available
Yosemite
Not available
Monteray
Not available
Ventura
Not available
Sonoma
Not available
Sequoia
Not available
 
Red Hat Enterprise Linux
RHEL 8
file
RHEL 9
file
RHEL 10
file
 
Ubuntu
Karmic
file
Lucid
file
Maverick
file
Natty
file
Oneiric
file
Precise
file
Quantal
file
Raring
file
Saucy
file
Trusty
file
Trusty (Python3)
file
Utopic
file
Utopic (Python3)
file
Vivid
file
Vivid (Python3)
file
Wily
file
Wily (Python3)
file
Xenial
file
Xenial (Python3)
file
Yakkety
file
Zesty
file
Artful
file
Bionic
file
Cosmic
file
Disco
file
Eoan
file
Focal
file
Groovy
file
Hirsute
file
Impish
file
Jammy
file
Noble
file
 

Raw Rosdep Data

  {"arch"=>["file"], "debian"=>["file"], "fedora"=>["file"], "freebsd"=>["file"], "gentoo"=>["sys-apps/file"], "nixos"=>["file"], "openembedded"=>["file@openembedded-core"], "rhel"=>["file"], "ubuntu"=>["file"]}