1. Executive Summary A tarball is a computer file format that combines multiple files into a single archive file (a "tape archive"). While tarballs do not inherently compress data, they are almost always used with a compression utility (e.g., gzip , bzip2 , xz ) to reduce file size. Tarballs are the standard method for distributing source code, software packages, and configuration files in Unix-like operating systems (Linux, macOS, BSD). 2. File Format & Extensions | Extension | Compression | Common Command | |-----------|-------------|----------------| | .tar | None | tar -cf | | .tar.gz , .tgz | gzip | tar -czf | | .tar.bz2 , .tbz2 | bzip2 | tar -cjf | | .tar.xz , .txz | xz (LZMA2) | tar -cJf | | .tar.zst | zstd | tar --zstd |

Use tar -czf (gzip) for general purpose, tar -cJf (xz) for archival size reduction, and tar --zstd for modern high-speed compression. Always validate untrusted tarballs before extraction. Report prepared on: April 14, 2026 Based on GNU tar 1.34+ and POSIX.1-2017 specifications.