xz is practically a superset of lzma, unlzma, and lzcat as found from LZMA Utils 4.32.x. In most cases, it is possible to replace [LZMA https://www.itmedia.co.jp/enterprise/articles/0906/19/news003.html] Utils with XZ Utils without breaking existing scripts. There are some incompatibilities though, which may sometimes cause problems.

関連コマンド

コマンド 概要
unxz is equivalent to xz --decompress.
xzcat is equivalent to xz --decompress --stdout.
lzma is equivalent to xz --format=lzma.
unlzma is equivalent to xz --format=lzma --decompress.
lzcat is equivalent to xz --format=lzma --decompress --stdout.