How to Unzip and Untar the tar.xz file

Sometimes you get the “tar.xz” files and you are unsure how to unzip and untar this kind of file.

xz is a lossless compression program and file format.

This compression formats used by the 7-Zip program, etc

unzip - DevOpsBuzz

You need to use “unxz” command to unzip this kind of file

[rv@scmquest]~/python$ unxz Python-3.5.0b3.tar.xz
[rv@scmquest]~/python$ ls -lrt
total 75100
-rw-r--r-- 1 rv scm 76820480 Jul 17 17:43 Python-3.5.0b3.tar
[rv@scmquest]~/python$ tar -xf Python-3.5.0b3.tar
[rv@scmquest]~/python$ ls -lrt
total 75104
drwxr-xr-x 16 rv scm 4096 Jul 5 18:50 Python-3.5.0b3
-rw-r--r-- 1 rv scm 76820480 Jul 17 17:43 Python-3.5.0b3.tar

Happy learning …

1 thought on “How to Unzip and Untar the tar.xz file”

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Scroll to Top