source: chapter08/xz.xml@ a171781c

multilib
Last change on this file since a171781c was a171781c, checked in by Thomas Trepl (Moody) <thomas@…>, 20 months ago

Automatic merge of trunk into multilib

  • Property mode set to 100644
File size: 13.1 KB
Line 
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">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-xz" role="wrap">
9 <?dbhtml filename="xz.html"?>
10
11 <sect1info condition="script">
12 <productname>xz</productname>
13 <productnumber>&xz-version;</productnumber>
14 <address>&xz-url;</address>
15 </sect1info>
16
17 <title>Xz-&xz-version;</title>
18
19 <indexterm zone="ch-system-xz">
20 <primary sortas="a-xz">Xz</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
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>
31
32 <segmentedlist>
33 <segtitle>&buildtime;</segtitle>
34 <segtitle>&diskspace;</segtitle>
35
36 <seglistitem>
37 <seg>&xz-fin-sbu;</seg>
38 <seg>&xz-fin-du;</seg>
39 </seglistitem>
40 </segmentedlist>
41
42 </sect2>
43
44 <sect2 role="installation">
45 <title>Installation of Xz</title>
46<!--
47 <para>Apply a patch to fix an issue in xzgrep:</para>
48
49<screen><userinput remap="pre">patch -Np1 -i ../&xz-upstream-fix-patch;</userinput></screen>
50-->
51 <para>Prepare Xz for compilation with:</para>
52
53<screen><userinput remap="configure">./configure --prefix=/usr \
54 --disable-static \
55 --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
56
57 <para>Compile the package:</para>
58
59<screen><userinput remap="make">make</userinput></screen>
60
61 <para>To test the results, issue:</para>
62
63<screen><userinput remap="test">make check</userinput></screen>
64
65 <para>Install the package:</para>
66
67<screen><userinput remap="install">make install</userinput></screen>
68
69 </sect2>
70
71 <!-- - - - - - - - - - -->
72 <!-- Multilib - 32bit -->
73 <!-- - - - - - - - - - -->
74
75 <sect2 arch="ml_32,ml_all" role="installation">
76 <title>Installation of Xz - 32bit</title>
77
78 <para>Clean previous build:</para>
79
80<screen><userinput remap="pre">make distclean</userinput></screen>
81
82 <para>Prepare Xz for compilation:</para>
83
84<screen><userinput remap="configure">CC="gcc -m32" ./configure \
85 --host=i686-pc-linux-gnu \
86 --prefix=/usr \
87 --libdir=/usr/lib32 \
88 --disable-static</userinput></screen>
89
90 <para>Compile the package:</para>
91
92<screen><userinput remap="make">make</userinput></screen>
93
94 <para>Install the package:</para>
95
96<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
97cp -Rv DESTDIR/usr/lib32/* /usr/lib32
98rm -rf DESTDIR</userinput></screen>
99
100 </sect2><!-- m32 -->
101
102 <!-- - - - - - - - - - -->
103 <!-- Multilib - x32bit -->
104 <!-- - - - - - - - - - -->
105
106 <sect2 arch="ml_x32,ml_all" role="installation">
107 <title>Installation of Xz - x32bit</title>
108
109 <para>Clean previous build:</para>
110
111<screen><userinput remap="pre">make distclean</userinput></screen>
112
113 <para>Prepare Xz for compilation:</para>
114
115<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
116 --host=x86_64-pc-linux-gnux32 \
117 --prefix=/usr \
118 --libdir=/usr/libx32 \
119 --disable-static</userinput></screen>
120
121 <para>Compile the package:</para>
122
123<screen><userinput remap="make">make</userinput></screen>
124
125 <para>Install the package:</para>
126
127<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
128cp -Rv DESTDIR/usr/libx32/* /usr/libx32
129rm -rf DESTDIR</userinput></screen>
130
131 </sect2><!-- mx32 -->
132
133 <sect2 id="contents-xz" role="content">
134 <title>Contents of Xz</title>
135
136 <segmentedlist>
137 <segtitle>Installed programs</segtitle>
138 <segtitle>Installed libraries</segtitle>
139 <segtitle>Installed directories</segtitle>
140
141 <seglistitem>
142 <seg>
143 lzcat (link to xz),
144 lzcmp (link to xzdiff),
145 lzdiff (link to xzdiff),
146 lzegrep (link to xzgrep),
147 lzfgrep (link to xzgrep),
148 lzgrep (link to xzgrep),
149 lzless (link to xzless),
150 lzma (link to xz),
151 lzmadec,
152 lzmainfo,
153 lzmore (link to xzmore),
154 unlzma (link to xz),
155 unxz (link to xz),
156 xz,
157 xzcat (link to xz),
158 xzcmp (link to xzdiff),
159 xzdec,
160 xzdiff,
161 xzegrep (link to xzgrep),
162 xzfgrep (link to xzgrep),
163 xzgrep,
164 xzless, and
165 xzmore</seg>
166 <seg>
167 liblzma.so
168 </seg>
169 <seg>
170 /usr/include/lzma and
171 /usr/share/doc/xz-&xz-version;
172 </seg>
173 </seglistitem>
174 </segmentedlist>
175
176 <variablelist>
177 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
178 <?dbfo list-presentation="list"?>
179 <?dbhtml list-presentation="table"?>
180
181 <varlistentry id="lzcat">
182 <term><command>lzcat</command></term>
183 <listitem>
184 <para>Decompresses to standard output</para>
185 <indexterm zone="ch-system-xz lzcat">
186 <primary sortas="b-lzcat">lzcat</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="lzcmp">
192 <term><command>lzcmp</command></term>
193 <listitem>
194 <para>Runs <command>cmp</command> on LZMA compressed files</para>
195 <indexterm zone="ch-system-xz lzcmp">
196 <primary sortas="b-lzcmp">lzcmp</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="lzdiff">
202 <term><command>lzdiff</command></term>
203 <listitem>
204 <para>Runs <command>diff</command> on LZMA compressed files</para>
205 <indexterm zone="ch-system-xz lzdiff">
206 <primary sortas="b-lzdiff">lzdiff</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="lzegrep">
212 <term><command>lzegrep</command></term>
213 <listitem>
214 <para>Runs <command>egrep</command> on LZMA compressed files</para>
215 <indexterm zone="ch-system-xz lzegrep">
216 <primary sortas="b-lzegrep">lzegrep</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="lzfgrep">
222 <term><command>lzfgrep</command></term>
223 <listitem>
224 <para>Runs <command>fgrep</command> on LZMA compressed files</para>
225 <indexterm zone="ch-system-xz lzfgrep">
226 <primary sortas="b-lzfgrep">lzfgrep</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="lzgrep">
232 <term><command>lzgrep</command></term>
233 <listitem>
234 <para>Runs <command>grep</command> on LZMA compressed files</para>
235 <indexterm zone="ch-system-xz lzgrep">
236 <primary sortas="b-lzgrep">lzgrep</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 <varlistentry id="lzless">
242 <term><command>lzless</command></term>
243 <listitem>
244 <para>Runs <command>less</command> on LZMA compressed files</para>
245 <indexterm zone="ch-system-xz lzless">
246 <primary sortas="b-lzless">lzless</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="lzma">
252 <term><command>lzma</command></term>
253 <listitem>
254 <para>Compresses or decompresses files using the LZMA format</para>
255 <indexterm zone="ch-system-xz lzma">
256 <primary sortas="b-lzma">lzma</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 <varlistentry id="lzmadec">
262 <term><command>lzmadec</command></term>
263 <listitem>
264 <para>A small and fast decoder for LZMA compressed files</para>
265 <indexterm zone="ch-system-xz lzmadec">
266 <primary sortas="b-lzmadec">lzmadec</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="lzmainfo">
272 <term><command>lzmainfo</command></term>
273 <listitem>
274 <para>Shows information stored in the LZMA compressed file header</para>
275 <indexterm zone="ch-system-xz lzmainfo">
276 <primary sortas="b-lzmainfo">lzmainfo</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="lzmore">
282 <term><command>lzmore</command></term>
283 <listitem>
284 <para>Runs <command>more</command> on LZMA compressed files</para>
285 <indexterm zone="ch-system-xz lzmore">
286 <primary sortas="b-lzmamore">lzmore</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="unlzma">
292 <term><command>unlzma</command></term>
293 <listitem>
294 <para>Decompresses files using the LZMA format</para>
295 <indexterm zone="ch-system-xz unlzma">
296 <primary sortas="b-unlzma">unlzma</primary>
297 </indexterm>
298 </listitem>
299 </varlistentry>
300
301 <varlistentry id="unxz">
302 <term><command>unxz</command></term>
303 <listitem>
304 <para>Decompresses files using the XZ format</para>
305 <indexterm zone="ch-system-xz unxz">
306 <primary sortas="b-unxz">unxz</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
311 <varlistentry id="xz">
312 <term><command>xz</command></term>
313 <listitem>
314 <para>Compresses or decompresses files using the XZ format</para>
315 <indexterm zone="ch-system-xz xz">
316 <primary sortas="b-xz">xz</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="xzcat">
322 <term><command>xzcat</command></term>
323 <listitem>
324 <para>Decompresses to standard output</para>
325 <indexterm zone="ch-system-xz xzcat">
326 <primary sortas="b-xzcat">xzcat</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 <varlistentry id="xzcmp">
332 <term><command>xzcmp</command></term>
333 <listitem>
334 <para>Runs <command>cmp</command> on XZ compressed files</para>
335 <indexterm zone="ch-system-xz xzcmp">
336 <primary sortas="b-xzcmp">xzcmp</primary>
337 </indexterm>
338 </listitem>
339 </varlistentry>
340
341 <varlistentry id="xzdec">
342 <term><command>xzdec</command></term>
343 <listitem>
344 <para>A small and fast decoder for XZ compressed files</para>
345 <indexterm zone="ch-system-xz xzdec">
346 <primary sortas="b-xzdec">xzdec</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="xzdiff">
352 <term><command>xzdiff</command></term>
353 <listitem>
354 <para>Runs <command>diff</command> on XZ compressed files</para>
355 <indexterm zone="ch-system-xz xzdiff">
356 <primary sortas="b-xzdiff">xzdiff</primary>
357 </indexterm>
358 </listitem>
359 </varlistentry>
360
361 <varlistentry id="xzegrep">
362 <term><command>xzegrep</command></term>
363 <listitem>
364 <para>Runs <command>egrep</command> on XZ compressed files</para>
365 <indexterm zone="ch-system-xz xzegrep">
366 <primary sortas="b-xzegrep">xzegrep</primary>
367 </indexterm>
368 </listitem>
369 </varlistentry>
370
371 <varlistentry id="xzfgrep">
372 <term><command>xzfgrep</command></term>
373 <listitem>
374 <para>Runs <command>fgrep</command> on XZ compressed files</para>
375 <indexterm zone="ch-system-xz xzfgrep">
376 <primary sortas="b-xzfgrep">xzfgrep</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="xzgrep">
382 <term><command>xzgrep</command></term>
383 <listitem>
384 <para>Runs <command>grep</command> on XZ compressed files</para>
385 <indexterm zone="ch-system-xz xzgrep">
386 <primary sortas="b-xzgrep">xzgrep</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="xzless">
392 <term><command>xzless</command></term>
393 <listitem>
394 <para>Runs <command>less</command> on XZ compressed files</para>
395 <indexterm zone="ch-system-xz xzless">
396 <primary sortas="b-xzless">xzless</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="xzmore">
402 <term><command>xzmore</command></term>
403 <listitem>
404 <para>Runs <command>more</command> on XZ compressed files</para>
405 <indexterm zone="ch-system-xz xzmore">
406 <primary sortas="b-xzmore">xzmore</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="liblzma">
412 <term><filename class="libraryfile">liblzma</filename></term>
413 <listitem>
414 <para>The library implementing lossless, block-sorting data
415 compression, using the Lempel-Ziv-Markov chain algorithm</para>
416 <indexterm zone="ch-system-xz liblzma">
417 <primary sortas="c-liblzma">liblzma</primary>
418 </indexterm>
419 </listitem>
420 </varlistentry>
421
422 </variablelist>
423
424 </sect2>
425
426</sect1>
Note: See TracBrowser for help on using the repository browser.