.DEB

DEB File

Debian Software Package
Ask a question
QUICK ANSWER

A DEB file is a software installer for Debian-based Linux systems - Ubuntu, Linux Mint, Kali, Raspberry Pi OS, and others. To use it, run sudo apt install ./package.deb in a terminal, or double-click it to open the software center. On Windows or macOS you can only inspect its contents with 7-Zip, not install it. Because installation runs scripts as root, only install DEB files from sources you trust.

Developer: Debian Project (community); dpkg toolchain Category: Compressed Files Open standard MIME: application/vnd.debian.binary-package
OPENS ON Windows macOS Linux
Related: .RAR · .ZIP · .Z01 · .7Z

On this page

19k+ extensions indexed
Last reviewed Jul 17, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the DEB file format?

Files with the .deb extension contain Debian software packages used by Linux-based operating systems and their derivatives, including Ubuntu, Linux Mint, and Kali. A single .deb file is a Unix ar archive that wraps three members: a small debian-binary text file stating the format version, a control.tar archive holding metadata, and a data.tar archive holding the installation payload.

The control archive (control.tar) stores maintainer scripts and package metadata - name, version, dependencies, and other control information. On modern Debian 12+ and Ubuntu systems, the control tarball defaults to Zstandard (.zst) compression; older packages use GZIP or XZ.

The data archive (data.tar) contains the actual installation files laid out in their destination paths. This archive also uses Zstandard compression in current releases, with GZIP, BZIP2, LZMA, or XZ found in older packages.

.udeb files, also known as 'micro debs', share many similarities with .deb files. .udeb files store essentially the same data as .deb, but are limited to the essential functional files needed by the Debian installer. A related variant, .ddeb, carries detached debug symbols for developer crash analysis.

  • .deb files are designed to be installed with a package manager - apt, dpkg, or gdebi - which resolves dependencies and runs maintainer scripts.
  • .deb files can be converted to other installer formats such as .rpm using the alien tool.
  • On Windows and macOS, tools such as 7-Zip can extract .deb members for inspection, but cannot install the package.

Security & safety

RISK: MEDIUM

A .deb installs software with root privileges and runs maintainer scripts (preinst/postinst), so a malicious package can fully compromise the system - treat it like an installer, not a data file. Install .deb files only from the official distro repositories or trusted vendor sites (where APT's GPG signatures or the vendor's HTTPS provide some assurance); be wary of random .deb downloads. Extracting a .deb with 7-Zip to look inside is harmless; installing it is the risky step. Inspect dependencies with GDebi before committing.

Format details

in a nutshell
FULL NAMEDebian Software Packageaka Debian package, Debian binary package
DEVELOPERDebian Project (community); dpkg toolchainsince 1995 (the modern dpkg 'ar' .deb format; Debian itself dates to 1993)
MIME TYPEapplication/vnd.debian.binary-package
TYPEBinary software package for Debian/Ubuntu Linux - an ar archive of compressed tarballs
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
213C617263683E0A
ASCII
!<arch>·
A .deb begins with the 8-byte Unix ar magic "!<arch>\n". The first archive member is always named "debian-binary" and contains the ASCII format version (e.g. "2.0"). This is the same ar magic used by static libraries (.a), so identify a .deb by that first member.

Programs that open DEB files

Windows2 apps
7-Zip Open-source Right-click > 7-Zip > Open archive to extract the ar members and the inner tarballs for INSPECTION (cannot install).
PeaZip Open-source Open the .deb to browse/extract its contents (inspection only).
macOS1 app
The Unarchiver / 7-Zip (Keka) Free Open the .deb with Keka/The Unarchiver to extract the tarballs for inspection (cannot install on macOS).
Linux5 apps
Synaptic Package Manager Open-source File > Add downloaded package(s) - but Synaptic is mainly for repository packages; GDebi is better for a single local .deb.
APT (terminal) Built-in Run sudo apt install ./package.deb - installs the package AND resolves its dependencies.
GNOME Software / App Center Open-source Double-click the .deb to open it in the graphical software center, then click Install.
GDebi Open-source Open the .deb with GDebi Package Installer - it shows dependencies and installs them too.
dpkg Built-in sudo dpkg -i package.deb then sudo apt -f install to fix any missing dependencies.

Technical details

deep spec
Container formatUnix `ar` archive; begins with 8-byte magic `!<arch>\n` at offset 0
Internal structureThree `ar` members in order: `debian-binary` (format version), `control.tar.*` (metadata + scripts), `data.tar.*` (installed files)
Format version marker`debian-binary` member contains the ASCII string `2.0`; this format has been stable since 1995
Control archive compressionZstandard (`.zst`) on Debian 12+ and Ubuntu 22.04+; XZ on older releases; GZIP on legacy packages
Data archive compressionZstandard (`.zst`) by default in current Debian/Ubuntu; also GZIP, BZIP2, LZMA, or XZ in older packages
MIME type`application/vnd.debian.binary-package` (registered); also `application/x-deb`
Integrity checking`md5sums` file inside `control.tar`; APT verifies repository metadata via GPG (`Release.gpg` / `InRelease`)
Installation tools`dpkg` (low-level); `apt` / `apt-get` (dependency-resolving front-end); `gdebi` (single-file GUI/CLI installer)
Package metadata fieldsStored in `control` file inside `control.tar`; mandatory fields: Package, Version, Architecture, Maintainer, Description
Supported platformsDebian, Ubuntu, Linux Mint, Kali Linux, Raspberry Pi OS, Pop!_OS; legacy iOS jailbreak (Cydia)
`.udeb` micro-deb variantStripped package for the Debian installer - no maintainer scripts, minimal metadata, no dependency resolution
`.ddeb` debug variantDetached debug-symbol package fetched automatically by crash handlers (`apport`, `gdb`)
Repository authenticationRepositories are GPG-signed; the `.deb` file itself carries no individual signature
Cross-format conversion`alien` converts `.deb` to `.rpm`, Slackware `.tgz`, and other installer formats
Typical file sizeA few KB (minimal utilities) to several hundred MB (games, IDE toolchains, media packages)
Released1995 (the modern dpkg 'ar' .deb format; Debian itself dates to 1993)
Latest versiondeb format version 2.0 (the '2.0' string in debian-binary; stable for decades)
Open standardYes · royalty-free
Specificationmanpages.debian.org

DEB conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DEB files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about DEB files.

Frequently asked questions

How do I install a .deb file on Ubuntu?
Easiest: double-click it to open the software center and click Install. Terminal: sudo apt install ./package.deb, which also installs any required dependencies.
Why does `dpkg -i` say dependencies are missing?
dpkg installs only that one package and doesn't fetch dependencies. Run sudo apt -f install afterwards, or just use sudo apt install ./file.deb from the start.
Can I open a .deb file on Windows?
Only to look inside. 7-Zip or PeaZip can extract the ar archive and its tarballs for inspection, but a .deb can't be installed or run on Windows.
What's the difference between .deb and .rpm?
Both are Linux software packages: .deb is for Debian/Ubuntu (dpkg/APT), .rpm is for Fedora/RHEL/openSUSE (rpm/dnf). They're not interchangeable; alien can convert with caveats.
How do I extract a .deb without installing it?
On Linux: dpkg-deb -x file.deb outdir/ for the files, or dpkg-deb -e for the control info. On Windows/macOS, open it with 7-Zip/Keka.
Is it safe to install a .deb from the internet?
Only if you trust the source - installation runs scripts as root. Prefer your distro's repositories or the official vendor; avoid random third-party .deb files.

References

1Debian - deb(5) package format manualmanpages.debian.org
2Debian - dpkg-deb manualmanpages.debian.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.MDMarkdown Document
3.CRDOWNLOADChrome Partial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Related extensions

.RARRAR Archive (Roshal ARchive)
.ZIPZIP Archive
.Z01Split ZIP Archive - First Part
.7Z7-Zip Archive
.001Split / multi-volume archive - first part (.001)
.ZIRenamed / Truncated ZIP Archive

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z