How to Unzip a Tgz File in Linux

Written by james carter
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Unzip a Tgz File in Linux
Unzip or decompress a TGZ archive from command-line. (binary data image by rgbspace from

TGZ is one of the most common compression formats used for sharing Linux files over the Internet. The command-line tool used to unzip TGZ archives is "tar," which is included standard in any Linux distribution.

Skill level:

Other People Are Reading


  1. 1

    Open a Command-line Terminal from the Taskbar.

  2. 2

    Enter the directory where the TGZ archive you wish to unzip is located using the "cd" command. For example, if the directory is "/usr/downloads," type "cd /usr/downloads" and press "Enter."

  3. 3

    Unzip the TGZ archive with the following command, substituting "file.tgz" with the name of the TGZ you wish to unzip:

    tar -zxvf file.tgz

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.