How to extract tar xz in linux

rangs

Distinguished
Nov 15, 2011
1
0
18,510
i am using Cent OS 5.7(64) and am unable extract these files using
tar -xf file.pkg.tar.xz

it gives the error
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 10152 bytes from scilab-5.3.1-4-i686.pkg.tar.xz
tar: Error exit delayed from previous errors

please help me for this


Thanks
Rangs