Howto unzip ".xz" file with 7z and lzma

Posted by neversaint on Super User See other posts from Super User or by neversaint
Published on 2010-05-27T07:37:16Z Indexed on 2010/05/27 7:42 UTC
Read the original article Hit count: 777

Filed under:
|
|
|
|

I tried to uncompressed a "*.xz" file with both 7z and lzma. But they gave me such message:

$ 7z x myfile.fq.xz 

7-Zip 4.57  Copyright (c) 1999-2007 Igor Pavlov  2007-12-06
p7zip Version 4.57 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)

Processing archive: myfile.fq.xz

Error: Can not open file as archive

$ 7z x myfile.fq.xz 

7-Zip 4.57  Copyright (c) 1999-2007 Igor Pavlov  2007-12-06
p7zip Version 4.57 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)

Processing archive: myfile.fq.xz

Error: Can not open file as archive

and with lzma

$ lzma -d myfile.fq.xz  
J_12.fq.xz:  unknown suffix -- unchanged

with other option:

 $ lzma -S .xz -d myfile.fq.xz  
lzma: SetDecoderProperties() error

© Super User or respective owner

Related posts about linux

Related posts about unix