Package format is a type ofarchive containing computer programs and additional metadata needed bypackage managers;[1] an instance of this type of archive is called apackage. While thearchive file format itself may be unchanged, package formats carry additional metadata, such as amanifest file or certain directory layouts. Packages may contain either source code orexecutable files.
Packages may be converted from one type to another with software such asAlien.
Packages are an important component in managing the security and integrity of the software supply chain. Packages containing executables and configuration can bedigitally signed to establish the integrity of running software and protect against tampering.[2]
Package formats that supportcode signing include .deb (Debian), .msi (Microsoft Windows), .apk (Android) and .ipa (IOS,IPadOS).
| Format | Consumed by |
|---|---|
| AIR | Adobe AIR |
| Bottle | Homebrew |
| Format | Consumed by |
|---|---|
| .ipa | IOS,IPadOS |
| Ports (BSD) | pkgsrc,FreeBSD,OpenBSD[3] |
| PKG | macOS,iOS,PlayStation 3,Solaris,SunOS,UNIX System V,Symbian,BeOS,Apple Newton |
| Format | Consumed by |
|---|---|
| AAB | Android |
| APK (Alpine) | Alpine Linux[4] |
| APK (Android) | Android |
| AppImage | Linux distribution-agnostic |
| Deb | Debian and its derivatives, such asRaspberry Pi OS,Kali Linux,Ubuntu, andLinux Mint[5] |
| ebuild | Gentoo Linux[6] |
| eopkg | Solus[7] |
| Nixpkg | Nix,NixOS, Home Manager |
| Portage | Gentoo Linux,ChromeOS[8] |
| Flatpak | Linux distribution-agnostic |
| .app, .hap | HarmonyOS,OpenHarmony, Oniro OS and Linux basedUnity Operating System |
| PISI | Pardus |
| .pkg.tar.zst | Arch Linux |
| PUP and PET | Puppy Linux (PUP format is deprecated since version 3.0) |
| RPM | Red Hat Enterprise Linux,Fedora, derivatives such asCentOS,[9] andSUSE Linux Enterprise,openSUSE |
| Snap | Linux distribution-agnostic, mainly developed forUbuntu |
| Format | Consumed by |
|---|---|
| APPX andAPPXBundle | Windows 8 and later,Windows Phone[10] |
| Windows Installer package / MSI | Windows Installer onMicrosoft Windows |
Arch Linux'sPacman[11] andSlackware[12] use'tar' archives with generic naming but specific internal structures.