1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
8 <sect1 id="ch-system-xz" role="wrap">
9 <?dbhtml filename="xz.html"?>
11 <sect1info condition="script">
12 <productname>xz</productname>
13 <productnumber>&xz-version;</productnumber>
14 <address>&xz-url;</address>
17 <title>Xz-&xz-version;</title>
19 <indexterm zone="ch-system-xz">
20 <primary sortas="a-xz">Xz</primary>
23 <sect2 role="package">
26 <para>The Xz package contains programs for compressing and decompressing
27 files. It provides capabilities for the lzma and the newer xz compression
28 formats. Compressing text files with <command>xz</command> yields a better
29 compression percentage than with the traditional <command>gzip</command> or
30 <command>bzip2</command> commands.</para>
33 <segtitle>&buildtime;</segtitle>
34 <segtitle>&diskspace;</segtitle>
37 <seg>&xz-ch6-sbu;</seg>
38 <seg>&xz-ch6-du;</seg>
44 <sect2 role="installation">
45 <title>Installation of Xz</title>
47 <para>Prepare Xz for compilation with:</para>
49 <screen><userinput remap="configure">./configure --prefix=/usr \
51 --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
53 <para>Compile the package:</para>
55 <screen><userinput remap="make">make</userinput></screen>
57 <para>To test the results, issue:</para>
59 <screen><userinput remap="test">make check</userinput></screen>
61 <para>Install the package and make sure that all essential files are in the
62 correct directory:</para>
64 <screen><userinput remap="install">make install
65 mv -v /usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} /bin
66 mv -v /usr/lib/liblzma.so.* /lib
67 ln -svf ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so</userinput></screen>
71 <sect2 id="contents-xz" role="content">
72 <title>Contents of Xz</title>
75 <segtitle>Installed programs</segtitle>
76 <segtitle>Installed libraries</segtitle>
77 <segtitle>Installed directories</segtitle>
82 lzcmp (link to xzdiff),
83 lzdiff (link to xzdiff),
84 lzegrep (link to xzgrep),
85 lzfgrep (link to xzgrep),
86 lzgrep (link to xzgrep),
87 lzless (link to xzless),
91 lzmore (link to xzmore),
96 xzcmp (link to xzdiff),
99 xzegrep (link to xzgrep),
100 xzfgrep (link to xzgrep),
108 /usr/include/lzma and
109 /usr/share/doc/xz-&xz-version;
115 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
116 <?dbfo list-presentation="list"?>
117 <?dbhtml list-presentation="table"?>
119 <varlistentry id="lzcat">
120 <term><command>lzcat</command></term>
122 <para>Decompresses to standard output</para>
123 <indexterm zone="ch-system-xz lzcat">
124 <primary sortas="b-lzcat">lzcat</primary>
129 <varlistentry id="lzcmp">
130 <term><command>lzcmp</command></term>
132 <para>Runs <command>cmp</command> on LZMA compressed files</para>
133 <indexterm zone="ch-system-xz lzcmp">
134 <primary sortas="b-lzcmp">lzcmp</primary>
139 <varlistentry id="lzdiff">
140 <term><command>lzdiff</command></term>
142 <para>Runs <command>diff</command> on LZMA compressed files</para>
143 <indexterm zone="ch-system-xz lzdiff">
144 <primary sortas="b-lzdiff">lzdiff</primary>
149 <varlistentry id="lzegrep">
150 <term><command>lzegrep</command></term>
152 <para>Runs <command>egrep</command> on LZMA compressed files</para>
153 <indexterm zone="ch-system-xz lzegrep">
154 <primary sortas="b-lzegrep">lzegrep</primary>
159 <varlistentry id="lzfgrep">
160 <term><command>lzfgrep</command></term>
162 <para>Runs <command>fgrep</command> on LZMA compressed files</para>
163 <indexterm zone="ch-system-xz lzfgrep">
164 <primary sortas="b-lzfgrep">lzfgrep</primary>
169 <varlistentry id="lzgrep">
170 <term><command>lzgrep</command></term>
172 <para>Runs <command>grep</command> on LZMA compressed files</para>
173 <indexterm zone="ch-system-xz lzgrep">
174 <primary sortas="b-lzgrep">lzgrep</primary>
179 <varlistentry id="lzless">
180 <term><command>lzless</command></term>
182 <para>Runs <command>less</command> on LZMA compressed files</para>
183 <indexterm zone="ch-system-xz lzless">
184 <primary sortas="b-lzless">lzless</primary>
189 <varlistentry id="lzma">
190 <term><command>lzma</command></term>
192 <para>Compresses or decompresses files using the LZMA format</para>
193 <indexterm zone="ch-system-xz lzma">
194 <primary sortas="b-lzma">lzma</primary>
199 <varlistentry id="lzmadec">
200 <term><command>lzmadec</command></term>
202 <para>A small and fast decoder for LZMA compressed files</para>
203 <indexterm zone="ch-system-xz lzmadec">
204 <primary sortas="b-lzmadec">lzmadec</primary>
209 <varlistentry id="lzmainfo">
210 <term><command>lzmainfo</command></term>
212 <para>Shows information stored in the LZMA compressed file header</para>
213 <indexterm zone="ch-system-xz lzmainfo">
214 <primary sortas="b-lzmainfo">lzmainfo</primary>
219 <varlistentry id="lzmore">
220 <term><command>lzmore</command></term>
222 <para>Runs <command>more</command> on LZMA compressed files</para>
223 <indexterm zone="ch-system-xz lzmore">
224 <primary sortas="b-lzmamore">lzmore</primary>
229 <varlistentry id="unlzma">
230 <term><command>unlzma</command></term>
232 <para>Decompresses files using the LZMA format</para>
233 <indexterm zone="ch-system-xz unlzma">
234 <primary sortas="b-unlzma">unlzma</primary>
239 <varlistentry id="unxz">
240 <term><command>unxz</command></term>
242 <para>Decompresses files using the XZ format</para>
243 <indexterm zone="ch-system-xz unxz">
244 <primary sortas="b-unxz">unxz</primary>
249 <varlistentry id="xz">
250 <term><command>xz</command></term>
252 <para>Compresses or decompresses files using the XZ format</para>
253 <indexterm zone="ch-system-xz xz">
254 <primary sortas="b-xz">xz</primary>
259 <varlistentry id="xzcat">
260 <term><command>xzcat</command></term>
262 <para>Decompresses to standard output</para>
263 <indexterm zone="ch-system-xz xzcat">
264 <primary sortas="b-xzcat">xzcat</primary>
269 <varlistentry id="xzcmp">
270 <term><command>xzcmp</command></term>
272 <para>Runs <command>cmp</command> on XZ compressed files</para>
273 <indexterm zone="ch-system-xz xzcmp">
274 <primary sortas="b-xzcmp">xzcmp</primary>
279 <varlistentry id="xzdec">
280 <term><command>xzdec</command></term>
282 <para>A small and fast decoder for XZ compressed files</para>
283 <indexterm zone="ch-system-xz xzdec">
284 <primary sortas="b-xzdec">xzdec</primary>
289 <varlistentry id="xzdiff">
290 <term><command>xzdiff</command></term>
292 <para>Runs <command>diff</command> on XZ compressed files</para>
293 <indexterm zone="ch-system-xz xzdiff">
294 <primary sortas="b-xzdiff">xzdiff</primary>
299 <varlistentry id="xzegrep">
300 <term><command>xzegrep</command></term>
302 <para>Runs <command>egrep</command> on XZ compressed files</para>
303 <indexterm zone="ch-system-xz xzegrep">
304 <primary sortas="b-xzegrep">xzegrep</primary>
309 <varlistentry id="xzfgrep">
310 <term><command>xzfgrep</command></term>
312 <para>Runs <command>fgrep</command> on XZ compressed files</para>
313 <indexterm zone="ch-system-xz xzfgrep">
314 <primary sortas="b-xzfgrep">xzfgrep</primary>
319 <varlistentry id="xzgrep">
320 <term><command>xzgrep</command></term>
322 <para>Runs <command>grep</command> on XZ compressed files</para>
323 <indexterm zone="ch-system-xz xzgrep">
324 <primary sortas="b-xzgrep">xzgrep</primary>
329 <varlistentry id="xzless">
330 <term><command>xzless</command></term>
332 <para>Runs <command>less</command> on XZ compressed files</para>
333 <indexterm zone="ch-system-xz xzless">
334 <primary sortas="b-xzless">xzless</primary>
339 <varlistentry id="xzmore">
340 <term><command>xzmore</command></term>
342 <para>Runs <command>more</command> on XZ compressed files</para>
343 <indexterm zone="ch-system-xz xzmore">
344 <primary sortas="b-xzmore">xzmore</primary>
349 <varlistentry id="liblzma">
350 <term><filename class="libraryfile">liblzma</filename></term>
352 <para>The library implementing lossless, block-sorting data
353 compression, using the Lempel-Ziv-Markov chain algorithm</para>
354 <indexterm zone="ch-system-xz liblzma">
355 <primary sortas="c-liblzma">liblzma</primary>