source: chapter08/xz.xml@ 51c01bff

ml-11.0 multilib
Last change on this file since 51c01bff was df462a9, checked in by Thomas Trepl (Moody) <thomas@…>, 3 years ago

Merge pre-LFS-11-0 changes

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