TGZ file is a tar archive which is compressed with the Gzip compression algorithm. Linux operating systems provide
gzip by default. A tar archive is created in order to make multiple files and directories single file with a
tar archive. And then
gzip is used to compress this tar which will create a TGZ file.
As stated previously TGZ is tar and gzipped file. TGZ can be also expressed as
Tar is for tar archive and
gz is gzip archive.
TGZ Exract Applications For Windows
There are a lot of tools which can be used to create or extract TGZ file. We will list the most popular application for TGZ below.
- File Viewer Plus
List TGZ File Information
We will start by printing the TGZ file information. We will use
file command which will print information like
file type, last modified time, original size etc.
<pre class="">$ file ls-dyna_example.tgz</pre>
<h1>Extract TGZ For Linux</h1>
Linux distributions like Ubuntu, Debian, Mint, Kali, Fedora, CentOS, RedHat provides requires tools
from applications repositories. These tools are installed by default.
<pre class="">$ tar xzvf ls-dyna_example.tgz</pre>
7zip` . 7zip is a very popular and useful compression tool which supports different compression algorithms like 7z, rar, zip, tar, gzip etc.
<h1>Extract For Windows with 7zip</h1>
Extracting TGZ files in Windows is very easy. In this case, we will use
We will right click to the TGZ file and click
Extract Here like below.
This will decompress
gzip part and create a
tar file. We will again
Rigth Click and then click to the
Extract Here which will decompress the
tar file like below.
As we can see the decompressed file will not be deleted automatically.