Advanced

How to Extract (Unzip) Tar Gz File

Posted by linuxize on · Post a comment
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

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post