extracting tar.gz file on linux code example
Example 1: install from tar gz file unix
tar -xzvf filename.tar.gz
Example 2: files tar.gz
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
tar -xzvf filename.tar.gz
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file