Package (macOS)

packageUniform Type Identifier (UTI)| com.apple.package

|

UTI conformation| public.directory
Container for| documents, bundles

In the Apple macOS operating system, a package is a file system directory that is normally displayed to the user by the Finder as if it were a single file. [1] Such a directory may be the top-level of a directory tree of objects stored as files, or it may be other archives of files or objects for various purposes, such as installer packages, or backup archives.

## Definition

[edit]

The package is a common file system abstraction used by Apple operating systems, such as macOS and iOS. It is a directory that may contain a hierarchy of files or objects that represent a preserved, organized state. A package is displayed to users like a single file in the Finder application to avoid being changed by the user. However, the content of packages may be accessed through special keyboard and mouse combination events. For this purpose, the control-click, or right-click, menu displays a directive Show Package Contents.[1]

Some documents may be represented as packages:[2]

* Rich Text Format documents with images, which carry the .rtfd extension;
* Dashboard widgets;
* Partially downloaded files in Safari, which carry the .download extension;
* Final Cut Pro X Camera Archives, which contain multiple QuickTime videos and carry the .fcarch extension;
* project files in GarageBand, Keynote, Pages, Numbers, iMovie and Xcode;
* Installer packages.

The Uniform Type Identifier (UTI) for a package is com.apple.package.[3]

### Bundles

[edit]

A package that has a standardized structure for storing executable code and its associated resources, is called a bundle.

## See also

[edit]

* Installer (macOS)

## References

[edit]

1. ^ a b "About Bundles". Bundle Programming Guide. Apple, Inc. Retrieved 2011-03-16.
2. ^ "Document Packages". Bundle Programming Guide. Apple, Inc. Retrieved 2011-03-16.
3. ^ "System-Declared Uniform Type Identifiers". Uniform Type Identifiers Reference. Apple, Inc. Retrieved 2011-03-16.

* v
* t
* e

Archive formats

Archiving only|

* ar
* cpio
* shar
* tar
* LBR
* WAD
* WARC

Compression only|

* Brotli
* bzip2
* compress
* gzip
* Zopfli
* LZMA
* LZ4
* lzip
* lzop
* SQ
* xz
* Zstandard

Archiving and compression|

* 7z
* ACE
* ARC
* ARJ
* B1
* Cabinet
* cfs
* cpt
* dar
* DGCA
* .dmg
* .egg
* kgb
* LHA
* lrzip
* LZX
* MPQ
* PEA
* RAR
* rzip
* sit
* sitx
* SQX
* UDA
* Xar
* zoo
* ZIP
* ZPAQ

Software packaging and distribution|

* apk
* App
* APPX
* deb
* HAP
* ipa
* JAR
* WAR
* Java RAR
* EAR
* MSI
* MSIX
* Package (macOS)
* RPM
* XAP
* XBAP

Document packaging and distribution|

* OEB Package Format
* OEBPS Container Format
* Open Packaging Conventions
* PAQ

* Comparison
* List
* Category

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template