Question: how extract xz file linux?
Answer: On Debian or Ubuntu, first install the package xz-utils. $ sudo apt-get install xz-utils.
Extract a . tar. xz the same way you would extract any tar. __ file. $ tar -xf file.tar.xz. ... 
To create a . tar. xz archive, use tack c. $ tar -cJf linux-3.12.6.tar.xz linux-3.12.6/