Archive Formats
Concepts
An archive format is a file format that combines multiple files and metadata into a single file. Different formats have different characteristics for compression, platform support, and features.
Format Categories
Compressed Archives
Single files with compression:
-
GZIP (
.gz) - Single file compression -
XZ (
.xz) - High compression ratio
Format Characteristics
| Format | Compression | Multi-file | Platform |
|---|---|---|---|
ZIP | Yes | Yes | Cross-platform |
TAR | No | Yes | Unix |
TAR.GZ | Yes | Yes | Unix |
7-Zip | Yes | Yes | Cross-platform |
CAB | Yes | Yes | Windows |
MSI | Yes (nested) | Yes | Windows |
RPM | Yes (nested) | Yes | Linux |
PKG | Yes (nested) | Yes | macOS |
Format Selection
EXE:: May contain 7-Zip or CAB
Choose formats based on:
-
Platform: Windows (MSI, CAB), Linux (RPM, TAR), macOS (PKG)
-
Compression: Highest (7-Zip, XZ), Fast (GZIP), None (TAR)
-
Compatibility: Most compatible (ZIP), Platform-specific (MSI, RPM)