Tarball
Description of a Tarball
Last updated
Was this helpful?
Description of a Tarball
What Is a Tarball File?
A tarball file is a type of archive commonly used on Unix-based systems such as Linux and macOS. These files typically carry extensions like .tar, .tar.gz, or .tgz.
Tarballs are created using the tar (Tape Archive) utility, which packages multiple files and directories into a single file. This simplifies:
File distribution
Backup operations
Transfers between systems
.tar — A basic archive without compression
.tar.gz or .tgz — A tar archive that has been compressed using gzip
These formats are frequently used for distributing software packages, source code, configuration bundles, or backup snapshots in a compact and portable form.
To create a tarball:
To extract a tarball:
Tarballs are widely used in open-source environments and DevOps workflows, and are considered a standard for packaging files in Unix-like ecosystems.
Last updated
Was this helpful?
Was this helpful?
tar -czvf archive-name.tar.gz /path/to/directorytar -xzvf archive-name.tar.gz