Quick Highlights On TGZ File Format
- TGZ File is the extensive version of the TAR File Format.
- TGZ File Format comes from the expression tar.gz
- The TGZ Files are created first by converting them to TAR files and then compressed to ZIP.
- TGZ Files are also known as the Tarballs.
- Linux can read specific commands in TGZ Files.
How to Unzip .tgz File Using the Linux Terminal?
If you’re new to Linux, you might find yourself faced with files that have the `.tgz`
extension. These files are archives that have been compressed using the tar and gzip utilities. Don’t worry if this sounds complicated! In this guide, we’ll show you how to easily unzip `.tgz`
files using two different methods: the `tar`
command and the `gunzip`
command. By the end of this tutorial, you’ll be able to extract the contents of .tgz
files with confidence.
Table of Content
- Understanding .tgz or .tar.gz Files
- Quick Highlights On TGZ File Format
- How to Unzip .tgz File Using Linux Terminal?
- Method 1: Unzip .tgz File Using the tar Command
- Method 2: Unzip .tgz File Using the gunzip Command