Gzip-compressed Tar Archive
ArchivesTGZ commonly abbreviates .tar.gz: gzip wraps a tar archive. Inspect contents and extract into a new directory.
- Main use
- Bundle files with tar and compress with gzip
- Data type
- Binary data
All sections, questions and sources
Content reviewed: · Editor:Kai
Opening steps
Choose your environment or purpose to see its steps.
Menu labels and support vary by app, OS and version. Preserve the original before making changes.
Troubleshooting by symptom
- Only tar appears: extract the tar layer too.
- Corruption: verify download completion/checksum.
- Permission error: choose a writable folder.
- Name differences: inspect OS filename/case rules.
TGZ → extracted data / another archive
- Extract both layers with compatible tooling; rearchive if needed.
- Reopen the output and check it against the preservation points in this guide before handoff.
Repackaging can change permissions or symbolic-link information.
Compression versus bundling
Gzip compresses; tar bundles files. Processing only gzip leaves the tar archive.
Source for these steps:GNU · How to Extract Members from an Archive / GNU · GNU gzip overview
Worked example: checks before handoff
Example: extract a source release into a new folder and read README before deciding on build steps.
Source for these steps:GNU · How to Extract Members from an Archive / GNU · GNU gzip overview
Related-format differences
| Format / method | Purpose and preserved information |
|---|---|
| .tgz | Bundle files with tar and compress with gzip |
| GZ / TAR | Compressed stream / bundled archive. |
| TGZ → extracted data / another archive | Repackaging can change permissions or symbolic-link information. |
Handling and security
Inspect source/scripts before execution.
Questions and answers
Different from tar.gz?
It commonly denotes the same combination.
Does extraction install software?
Extraction is separate from installation.
Can I inspect contents first?
Use a listing operation.
Format facts: name, steward and MIME type
- Formal name
- Gzip-compressed Tar Archive
- Steward / specification
- GNU
- MIME type
- Consult the producer or delivery system. The extension alone does not establish a MIME type.
Primary and official sources
- Software documentationHow to Extract Members from an Archive
Listing and extracting tar members.
GNU · Link checked: - Software documentationGNU gzip overview
TGZ and gzip compression.
GNU · Link checked: