Package format is a type of archive containing computer programs and additional metadata needed by package managers; an instance of this type of archive is called a package. While the archive file format itself may be unchanged, package formats carry additional metadata, such as a manifest file or certain directory layouts. Packages may contain either source code or executable files.

Packages may be converted from one type to another with software such as Alien.

Software supply chain and security

Packages are an important component in managing the security and integrity of the software supply chain. Packages containing executables and configuration can be digitally signed to establish the integrity of running software and protect against tampering.

Package formats that support code signing include .deb (Debian), .msi (Microsoft Windows), .apk (Android) and .ipa (IOS, IPadOS).

Common formats

Specialized formats

FormatConsumed by
AIRAdobe AIR
BottleHomebrew

BSD-based formats

FormatConsumed by
.ipaIOS, IPadOS
Ports (BSD)pkgsrc, FreeBSD, OpenBSD
PKGmacOS, iOS, PlayStation 3, Solaris, SunOS, UNIX System V, Symbian, BeOS, Apple Newton

Linux-based formats

FormatConsumed by
AABAndroid
APK (Alpine)Alpine Linux
APK (Android)Android
AppImageLinux distribution-agnostic
DebDebian and its derivatives, such as Raspberry Pi OS, Kali Linux, Ubuntu, and Linux Mint
ebuildGentoo Linux
eopkgSolus
NixpkgNix, NixOS, Home Manager
PortageGentoo Linux, ChromeOS
FlatpakLinux distribution-agnostic
.app, .hapHarmonyOS, OpenHarmony, Oniro OS and Linux based Unity Operating System
PISIPardus
.pkg.tar.zstArch Linux
PUP and PETPuppy Linux (PUP format is deprecated since version 3.0)
RPMRed Hat Enterprise Linux, Fedora, derivatives such as CentOS, and SUSE Linux Enterprise, openSUSE
SnapLinux distribution-agnostic, mainly developed for Ubuntu

Windows formats

FormatConsumed by
APPX and APPXBundleWindows 8 and later, Windows Phone
Windows Installer package / MSIWindows Installer on Microsoft Windows

Generic formats

Arch Linux's Pacman and Slackware use 'tar' archives with generic naming but specific internal structures.