Some software seems to be distributed in a new archive format:
$ file node-v18.7.0-linux-x64.tar.xz
node-v18.7.0-linux-x64.tar.xz: XZ compressed data
How do I extract this, preferably using tar (like I can with gzip or bzip2) ?
Some software seems to be distributed in a new archive format:
$ file node-v18.7.0-linux-x64.tar.xz
node-v18.7.0-linux-x64.tar.xz: XZ compressed data
How do I extract this, preferably using tar (like I can with gzip or bzip2) ?
Answering my own question to help others: tar (at least GNU tar) already handles this compression format, you can either:
tar -xJf node-v18.7.0-linux-x64.tar.xz
(file extracts)
tar -xf node-v18.7.0-linux-x64.tar.xz
(file extracts)
Or if you like to watch the progress:
tar -xvf node-v18.7.0-linux-x64.tar.xz