%general-entities; ]> XZ Utils-&xz-version; XZ Utils <para>The XZ Utils package contains programs for compressing and decompressing files. Compressing text files with <command>XZ Utils</command> yields a much better compression percentage than with the traditional <command>gzip</command>.</para> </sect2> <sect2 role="installation"> <title>Installation of XZ Utils Prepare XZ Utils for compilation: ./configure --prefix=/usr Compile the package: make To test the results, issue: make check Install the programs: make install Move the xz binary, and several symlinks that point to it, into the /bin directory: mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin Finally, move the shared library to a more appropriate location, and recreate the symlink pointing to it: mv -v /usr/lib/liblzma.so.* /lib ln -sfv ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so Contents of XZ Utils Installed programs Installed libraries Installed directories lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to xzdiff), lzegrep (link to xzgrep), lzfgrep (link to xzgrep), lzgrep (link to xzgrep), lzless (link to xzless), lzma (link to xz), lzmadec, lzmainfo, lzmore (link to xzmore), unlzma (link to xz), unxz (link to xz), xz, xzcat (link to xz), xzcmp (link to xzdiff), xzdec, xzdiff, xzegrep (link to xzgrep), xzfgrep (link to xzgrep), xzgrep, xzless, and xzmore liblzma.[a,so] /usr/include/lzma, /usr/share/doc/xz Short Descriptions lzcat Decompresses LZMA and xz files lzcat lzcmp Compares lzma compressed files lzcmp lzdiff Compares lzma compressed files lzdiff lzegrep Runs egrep on lzma compressed files lzegrep lzfgrep Runs fgrep on lzma compressed files lzfgrep lzgrep Runs grep on lzma compressed files lzgrep lzless Runs less on lzma files lzless lzma Compresses lzma files lzma lzmadec Decompresses lzma files lzmadec lzmainfo Displays information stored in an .lzma file header lzmainfo lzmore Runs more on lzma files lzmore unlzma Uncompresses lzma files unlzma unxz Uncompresses xz files unxz xz Creates xz compressed files xz xzcat Decompresses xz files xzcat xzcmp Compares xz compressed files xzcmp xzdec Decompresses to standard output xzdec xzdiff Compares xz compressed files xzdiff xzegrep Runs egrep on xz compressed files xzegrep xzfgrep Runs fgrep on xz compressed files xzfgrep xzgrep Runs grep on xz compressed files xzgrep xzless Runs less on xz files xzless xzmore Runs more on xz files xzmore liblzma The LZMA library liblzma