The error:
tar (child): xz: Cannot exec: No such file or directory
Is majorly an issue with the xz
command not found on the host machine.
To verify, run:
whereis xz
Fix
To fix, use the installation command for your Linux distribution:
sudo apt-get install xz-utils # Debian / Ubuntu
sudo yum install xz # RHEL / CentOS
sudo zypper in xz # OpenSuSE
sudo pacman -S xz # Arch Linux
Then untar
again with:
tar -xf path_to_file.tar.xz
Ref: S/O
Dhanyavaad! 🙇