How to Unzip a GZ File in Linux

GZ files are archive files compressed with the "gzip" program, similar to zip files. These archive files contain one or more files, compressed into a smaller file size for faster download times from the Internet. Source code and other software program files for Linux are often distributed in .gz or .tar.gz format. Unzip a GZ file using the "gunzip" command or a .tar.gz file using the "tar" command in a Linux terminal.

Instructions

    • 1

      Open a terminal window by clicking "Applications," "Accessories" or "System Tools" and "Terminal."

    • 2

      Navigate to the directory containing the GZ file by typing "cd" into the "Terminal" window, pressing "Space," typing the name of the directory and pressing "Enter." For example, navigate to the "Downloads" directory by typing "cd Downloads" into the "Terminal" window and pressing "Enter."

    • 3

      Unzip a .GZ file by typing "gunzip" into the "Terminal" window, pressing "Space," typing the name of the .gz file and pressing "Enter." For example, unzip a file named "example.gz" by typing "gunzip example.gz" into the "Terminal" window and pressing "Enter."

    • 4

      Unzip a .tar.gz file by typing "tar -zxvf" into the "Terminal" window, pressing "Space," typing the name of the .tar.gz file and pressing "Enter." For example, unzip a file named "example.tar.gz" by typing "tar -zxvf example.tar.gz" into the "Terminal" window and pressing "Enter."

Related Searches:

References

Comments

You May Also Like

  • How to Unzip Tar GZ in Windows

    When downloading files, you may encounter files with the tar.gz extension. For Windows users, these may be unusual files, since files using...

  • How to Unzip a Tar GZ File in Linux

    The .tar.gz file format is a compressed file format that is used on Linux operating systems to bundle files together for easier...

  • How to Unzip a Tar.gz in Linux

    Tar is a file archive format that was originally used with magnetic tape storage systems. Unlike with other formats, tar archives are...

  • How to Unzip GZ Files

    GZ files are compressed archives that contain groups of files within them. Like ZIP or RAR files, GZ archives need to be...

  • How to Unzip a Tar.gz

    Extracting archive files expands their contents. While Microsoft Windows can extract, or unzip (as the process is known with .zip archives) ZIP...

  • How to Unzip a Tar GZ File

    Tar GZ is an archiving format that is used to compress and store information. While Tar GZ files are becoming more ubiquitous,...

  • How to Unzip a Tar.GZ Unix File

    Unix-based operating systems such as Linux and Mac OS X use ".tar.gz" files to combine and compress multiple files for storage purposes...

  • How to Unzip in Terminal

    There are many ways to unzip a compressed file, however the most efficient means of unzipping files in Linux is by the...

  • How to Unzip a GZ File in Unix

    Unix systems support a large number of file compression utilities that vary in the extent of compression provided. The Gzip utility creates...

  • How to Unzip Tar Files in Linux

    Linux is an open source version of the UNIX graphical user interface operating system. The operating system is an alternative to the...

  • How to Unzip in GZ Format

    Individually sending a large number of files from one computer to another is a time-consuming task. Instead, most people combine multiple files...

  • How to Unzip a .Zip File in Linux

    A zip file is a compressed file containing other files. Zip files are widely-used on the Internet for distribution of software and...

  • How to Unzip Cpio.gz

    Files with the GZ extension are compressed with a method called GNU Zip compression. These types of archives are typically found in...

  • How to Unzip GZ Files in Windows

    Gzip stands for GNU zip. The utility was writtel to be distributed freely with full source code by Jeal-loup Gailly and Mark...

  • How to Unzip Multiple Files by Mask in UNIX

    Zipping refers to various program methods that permit you to compress files and hence reduce their size. Before working with zipped files...

  • How to Transfer Files from one Linux Server to Another

    The Linux system is endowed with many different file transferring functions. Each function is unique in use and application. Following is the...

  • How to Open a Gz File

    Next, to open a gz file, find and locate an archive manager program that lets you open compressed files. One popular example...

Related Ads

Featured