Method 3 : Using gunzip command
Step 1 : Use the application menu to open the terminal, or use the shortcut Ctrl+Alt+T to do the same. This will open up a terminal window or in other words, a command line interface from where you can run commands and utilities on your system.
Ctrl+Alt+T
Step 2 : Now, run the following gunzip command to decompress the xz file. This command is functionally the same as using gzip. And this command will also remove your gz and replace it with the decompressed file. So, this too will make the compressed file inaccessible after execution and you will be left only with the uncompressed file at the end.
gunzip filename.gz
How to Unzip (Open) Gz File
If you have been using Linux for some time, you must have come across a “gz” file. Have you ever wondered, what is it and how do you actually open it?
Worry not, in this article, we deep dive into the details of gz file and help you overcome your doubts about it.
Table of Content
- What is gz file?
- How to open gz file
- Method 1: Using the gzip command
- Method 2 : Using graphical archive manager
- Method 3 : Using gunzip command
- Method 4 : Using tar command [ONLY for compression in the tar.gz format]