Package format

From Wikipedia, the free encyclopedia
(Redirected from Linux package formats)

A package format (AKA Package) is a type of archive containing computer programs and additional metadata needed by package managers.[1] While the archive file format itself may be unchanged, package formats bear 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 Development Lifecycle[edit]

Packages are important artifacts produced during the implementation phase of the Software Development Lifecycle (SDLC) . They are the products of the implementation phase, used during Customer Acceptance Testing and Service phases to determine if the software is viable to be put into service.

Package artifacts provide a reproducible configuration, allowing for quality (customer) acceptance teams to validate a software component as ready for service to customers. [2]

Software Supply Chain and Security[edit]

Packages are an important component in managing the security and integrity of the software supply chain. Packages containing executables & configuration can be digitally signed (see Code signing) to establish the integrity of running software and protect against tampering. [3]

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

Common formats[edit]

Specialized formats[edit]

Format Consumed by
AAB Android
AIR Adobe AIR
APK (Alpine) Alpine Linux[4]
APK (Android) Android
AppImage Linux distribution-agnostic.
APPX and APPXBundle Windows 8 and later, Windows Phone[5]
Bottle Homebrew
Deb Debian and its derivatives, such as Raspberry Pi OS, Kali Linux Ubuntu, Xubuntu, and Linux Mint[6]
ebuild Gentoo Linux[7]
eopkg Solus[8]
.ipa IOS, IPadOS
Portage Gentoo Linux, ChromeOS[9]
Ports (BSD) OpenBSD[10]
Flatpak Linux distribution-agnostic.
.app, .hap HarmonyOS, OpenHarmony, Oniro OS and Linux based Unity Operating System
PISI Pardus
PKG macOS, iOS, PlayStation 3, Solaris, SunOS, UNIX System V, Symbian, BeOS, Apple Newton
.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 as CentOS,[11] and SUSE Linux Enterprise Server, openSUSE
Snap Linux distribution-agnostic, mainly developed for Ubuntu
Windows Installer package / MSI Windows Installer on Microsoft Windows

Generic formats[edit]

Arch Linux's Pacman[12] and Slackware[13] use Tar archives with generic naming but specific internal structures.

References[edit]

  1. ^ Justin Angelo Cappos, Stork: Secure Package Management for VM Environments[permanent dead link], ProQuest, 2008, p. 128 ;
  2. ^ "What is the software development lifecycle (SDLC)? Phases and models".
  3. ^ "Protecting Software Integrity Through Code Signing". nist.gov.
  4. ^ "Alpine package format - Alpine Linux". wiki.alpinelinux.org. Retrieved May 19, 2016.
  5. ^ "App packaging". Retrieved September 29, 2014.
  6. ^ "InstallingSoftware - Community Ubuntu Documentation". Help.ubuntu.com. Retrieved April 24, 2013.
  7. ^ "ebuild". Retrieved July 29, 2015.
  8. ^ "Basics to Package Management". Retrieved May 1, 2020.
  9. ^ "Using Portage to Manage Packages in Gentoo". linode.com.
  10. ^ "Ports - Working with Ports". OpenBSD.org.
  11. ^ "rpm - Trac". Retrieved September 29, 2014.
  12. ^ "makepkg.conf(5) Manual Page".
  13. ^ "The Slackware Linux Project: Configuration Help". Retrieved September 29, 2014.