install a tar.gz code example
Example 1: how to install tar.gz in ubuntu
tar -xzf archive-name.tar.gz
cd archive-name
./configure
make
sudo make install
Example 2: run tar.xz ubuntu
tar xf [filename]
tar -xzf archive-name.tar.gz
cd archive-name
./configure
make
sudo make install
tar xf [filename]