File Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian
Maintainer: Christoph Biedl
Email: [email protected] .
Website: https://www.darwinsys.com/file/
Section: utils
Install file
-
Debian
apt-get install fileClick to copy -
Ubuntu
apt-get install fileClick to copy -
Alpine OS
apk add fileClick to copy -
Arch Linux
pacman -S fileClick to copy -
Kali Linux
apt-get install fileClick to copy -
CentOS
yum install fileClick to copy -
Fedora
dnf install fileClick to copy -
Raspbian
apt-get install fileClick to copy
Determine file type.
How to use file?
Below are few example commands for file that you can use in the terminal.
Give a description of the type of the specified file. Works fine for files with no file extension:file filenameClick to copyLook inside a zipped file and determine the file type(s) inside:file -z foo.zipClick to copyAllow file to work with special or device files:file -s filenameClick to copyDon't stop at first file type match; keep going until the end of the file:file -k filenameClick to copyDetermine the mime encoding type of a file:file -i filenameClick to copy
Installation of latest file command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




