How to Extract (Unzip) Tar Gz File

Posted by linuxize on Feb 17, 2019 9:35 PM EDT
linuxize.com; By linuxize
Mail this story
Print this story

If you are roaming the open source world, chances are you encounter .tar.gz file on a regular basis. Open source packages are generally available to download in .tar.gz and .zip formats. The tar command is used to create tar archives by converting a group of files into an archive. It supports a vast range of compression programs such as gzip, bzip2, lzip, lzma, lzop, xz and compress. Tar was originally designed for creating archives to store files on magnetic tape which is why it has its name “Tape ARchive”.

Gzip is the most popular algorithm for compressing tar files. By convention, the name of a tar archive compressed with gzip the should end with either .tar.gz or .tgz.

In short, a file that ends in .tar.gz is a .tar archive compressed with gzip.

The tar command can also be used to extract tar archives, display a list of the files included in the archive, add additional files to an existing archive, as well as various other kinds of operations. In this tutorial, we will show you how to extract (or unzip) tar.gz and tgz archives.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: GNU, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.