Package format
{{Short description|Type of computer archive}}
{{Use mdy dates|date=March 2023}}
{{Use American English|date=March 2023}}
Package format is a type of archive containing computer programs and additional metadata needed by package managers;Justin Angelo Cappos, [https://books.google.com/books?id=77Ejx2DmxzgC&pg=PA128 Stork: Secure Package Management for VM Environments]{{Dead link|date=March 2023 |bot=InternetArchiveBot |fix-attempted=yes }}, ProQuest, 2008, p. 128; 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.
{{Cite web |url=https://csrc.nist.gov/pubs/itlb/2018/05/protecting-software-integrity-through-code-signing/final |title=Protecting Software Integrity Through Code Signing|website=National Institute of Standards and Technology | series=ITL Bulletin | first1=David | last1=Cooper | first2=Larry | last2=Feldman | first3=Gregory | last3=Witte | date=May 23, 2018}}
Package formats that support code signing include .deb (Debian), .msi (Microsoft Windows), .apk (Android) and .ipa (IOS, IPadOS).
Common formats
= Specialized formats =
= BSD-based formats =
class="wikitable"
!Format !Consumed by |
.ipa |
Ports (BSD)
| pkgsrc, FreeBSD, OpenBSD{{Cite web |url=https://www.openbsd.org/faq/ports/ports.html |title=Ports - Working with Ports |website=OpenBSD.org}} |
PKG
|macOS, iOS, PlayStation 3, Solaris, SunOS, UNIX System V, Symbian, BeOS, Apple Newton |
= Linux-based formats =
= Windows formats =
class="wikitable"
!Format !Consumed by |
APPX and APPXBundle
|Windows 8 and later, Windows Phone{{cite web|url = http://msdn.microsoft.com/en-us/library/windows/apps/bg182885.aspx|title = App packaging|access-date = 29 September 2014|archive-url=https://web.archive.org/web/20141008232922/http://msdn.microsoft.com/en-us/library/windows/apps/bg182885.aspx|archive-date=2014-10-08|url-status=dead}} |
Windows Installer package / MSI |
= Generic formats =
Arch Linux's Pacman{{cite web|url=https://www.archlinux.org/pacman/makepkg.conf.5.html|title= makepkg.conf(5) Manual Page}} and Slackware{{cite web|url=http://www.slackware.com/config/packages.php|title=The Slackware Linux Project: Configuration Help|access-date=29 September 2014}} use 'tar' archives with generic naming but specific internal structures.
References
{{Reflist|30em}}
{{Archive formats}}
{{Linux package management systems}}
{{Linux}}
{{DEFAULTSORT:Linux Package Formats}}