Ubuntu Extract img.xz

sudo apt-get install xz-utils
#Example file
unxz ubuntu-19.10-preinstalled-server-arm64+raspi3.img.xz
Lazurite