linux download and unzip tar gz code example
Example 1: unzip a tar.gz file in linux
tar -xvzf community_images.tar.gz
Example 2: unzip tar.xz linux
tar -xf archive.tar.xz -C /home/linuxize/files
tar -xvzf community_images.tar.gz
tar -xf archive.tar.xz -C /home/linuxize/files