AshKeys

Confessions and Confusions of a Freelance Fullstacker.

Ashok Mannolu Arunachalam, BlogHow toLinuxPop!_OSTerminal Usage
Back

How to extract tar.gz file in linux

To extract a tar ball, use tar utility in linux.

bash
$ tar -xzf ./go1.12.6.linux-amd64.tar.gz

This will unpack the go folder in the working directory.

To unpack it in a custom folder:

bash
$ tar -C /home/ashokma/go_1.12.6 -xzf ./go1.12.6.linux-amd64.tar.gz

Use -v option to see the list of files being extracted. It means be verbose about it!