To unzip the tar.gz archive, use the tar command with the -xzvf options followed by the archive’s filename.
Here’s the breakdown of the options:
-x: Extract the files from the archive.
-z: Use gzip compression.
-v: Verbose mode (optional but provides more information).
-f: Specify the archive file to be extracted.
The basic syntax is:
tar -xzvf archive.tar.gz
So, for example, if your archive is named “myarchive.tar.gz,” you would run:
tar -xzvf myarchive.tar.gz