Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
How To Unzip (Open) Gz File

How To Unzip (Open) Gz File

Posted on February 16, 2022 By admin

Tutorial To Unzip Gz File In Linux

Gzip by GNU is a popular data compression program and the GZ file is an archive file compressed by the standard Gzip. It was developed by Jean-loup Gailly and Mark Adler initially on October 31, 1992.

How To Unzip (Open) Gz File

Programs To Open Gz File

For Windows operating system:

  1. Peazip
  2. WinRAR
  3. Corel WinZip
  4. 7-Zip
  5. File Viewer Plus

For macOS:

  1. Corel WinZip Mac
  2. Incredible Bee Archiver
  3. Apple Archive Utility
  4. Smith Micro StuffIt Deluxe Mac 16

For Linux based operating systems:

  1. gzip
  2. Xarchive
  3. Ark
  4. Peazip

Steps to unzip Gz File in Linux-based operating systems. Run the following command to unzip the Gz file to its original state and remove the original .gz file

gzip -d file-Name.gz

Steps to extract tar.gz file.

Run the following command to extract tar.gz file in Linux based operating systems like Ubuntu, Linux Mint, CentOS, Fedora OS, Pop OS, Elementary OS, RedHat, and other Linux distro:

tar -xf archive-name.tar.gz

Unzip gz File with gunzip Command:

gunzip < filename.tar.gz > filename.tar

How To View Content Of an Archived Folder Without Extracting

Run the following command to view the content of the tar.gz file in Linux without extracting it.

tar -tvf filename.tar.gz

Extract .tar.gz, .tgz, .gz tarballs using tar on Windows 10/ Windows 11

Go through the following steps to extract .tar.gz, .tgz, .gz as well as .zip files using tar on Windows 11.

READ More Relevant Stuff:  How To Delete A Repository And GPG Key In Ubuntu

Open command with administrator privilege and type the following command to use tar to extract the files on Windows 11.

tar -xvzf C:\PATH\TO\FILE\FILE.tar.gz -C C:\PATH\TO\FOLDER-NAME\EXTRACTION

Extract .tar.gz, .tgz, .gz tarballs using tar on Linux on Windows (WSL)

Run the following command to extract .gz files on Linux on Windows  ( Linux On WSL)

sudo tar -xvzf /mnt/c/Path/To/Tar-file/Desktop/Filename.tar.gz -C /mnt/c/Path/To/Destination/folder

Summary: Let us know if you want to add more commands in this post. Please share your suggestion in the comment box below.

How To Ubuntu, Linux, Linux Commands, Tutorials Tags:Commands, extract Linux commands, linux

Post navigation

Previous Post: Best Windows Skins And Themes : Windows 11 Themes Collection
Next Post: Add Apt Repository In Ubuntu 22.04 LTS: Fix add-apt-repository command not found

Related Posts

Best Command Line Music Players For Linux Best Command Line Music Players For Linux Linux
List Of Linux Terminal Emulators In 2023 List Of Best Linux Terminal Emulators In 2023 Linux
Free Online Linux Tutorials For Beginners In 2020 Free Online Linux Tutorials For Beginners In 2022 Linux
HPLIP 3.22.4 Released | HP printer and scanner drivers For Linux HPLIP 3.22.4 Released | HP printer and scanner drivers For Linux Linux
Best Minecraft Seeds In 2023 10 Best Minecraft Seeds In 2023 Game
How To Run Linux Commands In background : Run Process In background How To Run Linux Commands In background : Run Process In background Linux

Recent Posts

  • New Job Search October 10, 2025
  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Principal Data Scientist (San Diego)

    • San Diego, CA
    • I did my part and supported the Regular Toilet
    • Full Time
  • Spec Writer | Architecture

    • Minnetonka, MN
    • AEC Resources
    • Full Time
  • Technical Editor – Remote

    • Phoenix, AZ
    • Outlier AI
    • Full Time
  • Technical Writer 1

    • Gainesville, TX
    • Safran
    • Full Time
  • Applied AI Engineer- Federal

    • Remote
    • Snorkel Ai
    • Full Time
  • Senior AI/ML Data Engineer (Healthcare, HIPAA/SOC2) (San Francisco)

    • San Francisco, CA (Remote)
    • MLabs
    • Full Time
  • Freelance Writer – Part Time Work From Home

    • Charleston, WV
    • Freelance
  • Injection Molding Process Engineer

    • Leominster, MA
    • F&M Tool and Plastics
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme