To extract a tar ball, use tar utility in linux.
1 | $ 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:
1 | $ tar -C /home/ashokma/go_1.12.6 -xzf ./go1.12.6.linux-amd64.tar.gz |
Tip: Use
-voption to see the list of files being extracted. It means be verbose about it!