untar xz code example
Example 1: extract a tar.xz file linux
tar -xf filename.tar.xz
Example 2: unzip tar.xz linux
tar -xf archive.tar.xz -C /home/linuxize/files
Example 3: untar xz
tar -xf file.tar.xz
tar -xf filename.tar.xz
tar -xf archive.tar.xz -C /home/linuxize/files
tar -xf file.tar.xz