Apa itu TGZ?

TGZ (tar.gz) adalah arsip tar terkompresi gzip yang banyak digunakan di Unix dan Linux untuk mendistribusikan kode sumber, cadangan, dan paket perangkat lunak.

Alat konversi file online gratis. Berfungsi di Chrome, Firefox, Safari, Edge, Opera, dan browser modern lainnya di Windows, macOS, Linux, Android, dan iOS. Tanpa instalasi perangkat lunak atau pendaftaran. Semua konversi berjalan langsung di browser Anda, sehingga file Anda tidak pernah meninggalkan perangkat. Gratis digunakan tanpa akun.

Archive

Apa itu TGZ?

Sebuah arsip tar terkompresi gzip yang menggabungkan file dan kemudian mengecilkannya dalam satu aliran.

Terakhir diperbarui:

Year1992
TypeArchive + compression
UsageSource and software distribution

What is it?

TGZ, also written as .tar.gz, is a compound format in which files are first combined into a single tar archive and that archive is then compressed with gzip. The result is one file that preserves Unix file structure and metadata while reducing size.

The two stages are separate: tar handles bundling and metadata such as permissions and timestamps, while gzip applies DEFLATE compression to the whole tarball. The .tgz extension is simply a shorthand for .tar.gz, and the file is decompressed by gunzip and then unpacked by tar.

Technical Specifications

Developertar by Unix/GNU; gzip by Jean-loup Gailly and Mark Adler
File Extension.tgz, .tar.gz
MIME Typeapplication/gzip
Releasedgzip released 1992
TypeGzip-compressed tar archive

Pros & Cons

Advantages

Mempertahankan metadata Unix

The tar layer keeps permissions, ownership, symlinks, and timestamps intact through compression.

Kompresi solid

Because gzip compresses the entire tarball as one stream, cross-file redundancy improves the overall ratio.

Alat yang ubiquitas

tar and gzip are standard on virtually every Unix and Linux system, requiring no extra software.

Dapat di-streaming

Archives can be created and extracted on the fly through pipes, ideal for backups and network transfer.

Disadvantages

Tanpa akses acak

Because the whole archive is a single compressed stream, individual files cannot be extracted without reading from the start.

Tanpa enkripsi bawaan

Neither tar nor gzip provides encryption, so security must be added with separate tools.

Kerapuhan aliran tunggal

Corruption early in the gzip stream can make the remainder of the archive unrecoverable.

When to Use It

TGZ is a default choice for packaging and moving files in Unix-like environments.

Distribusi kode sumber

Open-source projects commonly release source tarballs as .tar.gz downloads.

Cadangan

System administrators archive directory trees into compressed tarballs for storage and transfer.

Pengemasan perangkat lunak

Many Unix software bundles and language package ecosystems ship artifacts as tgz files.

How to open a TGZ file

TGZ files, which are compressed tar archives, can be handled by a variety of software tools that fall into several categories: professional applications, free and open-source tools, browser-based utilities, and built-in system tools. Professional applications often provide advanced features for handling TGZ files, making them suitable for businesses and developers. Free and open-source tools are ideal for users seeking cost-effective solutions without sacrificing functionality, while browser-based utilities offer convenience for quick tasks without installation. Built-in system tools are useful for users who prefer native solutions on their operating systems.

When choosing software for TGZ files, several decision factors come into play, including feature fidelity, the distinction between editing and viewing capabilities, cost models, and platform compatibility. Users should consider whether they need to extract, view, or edit the contents of TGZ files, as some tools excel in specific areas. Additionally, the cost model can influence the choice, especially for users on a budget. In some cases, converting TGZ files to other formats may be more beneficial, depending on the intended use of the files.

WinRAR 6.20

Windows, macOS, LinuxOne-time $39.00

WinRAR is a powerful archive manager that supports TGZ files among many other formats. It allows users to extract and create TGZ archives with high fidelity, ensuring that file integrity is maintained during the process.

Fitur utama
  • Multi-format archive support including TGZ
  • High compression ratio for archives
  • Password protection for secure files
  • Repair damaged archives functionality
  • Batch extraction of multiple archives
Kelebihan
  • Robust compression and extraction capabilities
  • User-friendly interface with advanced options
  • Widely trusted and established software
Keterbatasan
  • Paid software with limited trial period
  • Not open-source, which may deter some users

Ekspor ke: ZIP, RAR, TAR, 7Z, ISO

Terbaik untuk: WinRAR is ideal for users needing a reliable and feature-rich tool for managing TGZ files, especially in a professional setting.

Kunjungi WinRAR →

7-Zip 21.07

Windows, macOS (via unofficial ports), LinuxFree (GPL)

7-Zip is a free and open-source file archiver that provides excellent support for TGZ files. It allows users to extract and create TGZ archives while maintaining high fidelity and offers a simple interface for easy navigation.

Fitur utama
  • High compression ratio using LZMA algorithm
  • Support for a wide range of archive formats
  • Integration with Windows Explorer for convenience
  • Strong AES-256 encryption for security
  • Command-line interface for advanced users
Kelebihan
  • Completely free and open-source software
  • Highly efficient compression algorithms
  • Lightweight and fast performance
Keterbatasan
  • Limited support for advanced editing features
  • User interface may seem basic to some

Ekspor ke: ZIP, TAR, WIM, EXE, GZ

Terbaik untuk: 7-Zip is perfect for users looking for a free, efficient, and straightforward tool to work with TGZ files.

Kunjungi 7-Zip →

PeaZip 8.6.0

Windows, LinuxFree (GPL)

PeaZip is a free file archiver that supports TGZ files and offers a user-friendly interface with a variety of features. It allows users to extract and create TGZ archives, focusing on usability and flexibility.

Fitur utama
  • Multi-format support including TGZ and TAR
  • Secure file deletion and encryption options
  • Integrated file manager for easy navigation
  • Batch processing for multiple files
  • Customizable user interface and themes
Kelebihan
  • Open-source with no hidden costs
  • Rich feature set for advanced users
  • Cross-platform compatibility
Keterbatasan
  • Performance can lag with large files
  • Less known than other archivers

Ekspor ke: ZIP, TAR, 7Z, ARC, GZ

Terbaik untuk: PeaZip is suitable for users who value a feature-rich, open-source tool for managing TGZ files with an emphasis on usability.

Kunjungi PeaZip →

The Unarchiver 4.3.0

macOSFree

The Unarchiver is a free extraction tool for macOS that supports TGZ files among many other formats. It focuses on simplicity and ease of use, allowing users to quickly extract the contents of TGZ archives without complex settings.

Fitur utama
  • Support for a wide variety of archive formats
  • Easy drag-and-drop extraction
  • Integration with macOS Finder
  • Automatic file association for archives
  • Supports Unicode filenames for better compatibility
Kelebihan
  • Simple and intuitive interface for macOS users
  • Fast extraction speeds
  • Lightweight and free to use
Keterbatasan
  • Limited editing capabilities for TGZ files
  • Only available for macOS

Ekspor ke: N/A

Terbaik untuk: The Unarchiver is ideal for macOS users who need a straightforward and efficient tool for extracting TGZ files without any cost.

Kunjungi The Unarchiver →

Convert TGZ Files Free

Use our free online archive converter to convert TGZ and other formats - no signup, no watermarks.

Try Archive Converter Free

References

  1. GZIP File Format - Library of Congress
  2. GNU tar Manual - GNU Project
  3. gzip - Wikipedia
  4. tar (computing) - Wikipedia