tar.gz in ubuntu code example
Example 1: create tar gz file from directory
tar -czf tarball.tar.gz my_directory/
Example 2: extract tar.gz ubuntu terminal
tar -xvf yourfile.tar.gz
Example 3: how to install tar.gz in ubuntu
tar -xzf archive-name.tar.gz
cd archive-name
./configure
make
sudo make install