source: BOOK/final-system/common/xz.xml@ 38640a1

sysvinit
Last change on this file since 38640a1 was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 10.7 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 <title>XZ Utils-&xz-version;</title>
12
13 <indexterm zone="ch-system-xz">
14 <primary sortas="a-XZ Utils">XZ Utils</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The XZ Utils package contains programs for compressing and
21 decompressing files. Compressing text files with <command>XZ Utils</command>
22 yields a much better compression percentage than with the traditional
23 <command>gzip</command>.</para>
24
25 </sect2>
26
27 <sect2 role="installation">
28 <title>Installation of XZ Utils</title>
29
30 <para os="a">Prepare XZ Utils for compilation:</para>
31
32<screen os="b"><userinput>./configure \
33 --prefix=/usr \
34 --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
35
36 <para os="c">Compile the package:</para>
37
38<screen os="d"><userinput>make</userinput></screen>
39
40 <para os="e">To test the results, issue:</para>
41
42<screen os="e2"><userinput remap="test">make check</userinput></screen>
43
44 <para os="f">Install the programs:</para>
45
46<screen os="g"><userinput>make install</userinput></screen>
47
48 <para os="h">Move the <filename>xz</filename> binary, and several symlinks
49 that point to it, into the /bin directory:</para>
50
51<screen os="i"><userinput>mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin</userinput></screen>
52
53 <para os="j">Finally, move the shared library to a more appropriate
54 location, and recreate the symlink pointing to it:</para>
55
56<screen os="k"><userinput>mv -v /usr/lib/liblzma.so.* /lib
57ln -sfv ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so</userinput></screen>
58
59 </sect2>
60
61 <sect2 id="contents-xz" role="content">
62 <title>Contents of XZ Utils</title>
63
64 <segmentedlist>
65 <segtitle>Installed programs</segtitle>
66 <segtitle>Installed libraries</segtitle>
67 <segtitle>Installed directories</segtitle>
68
69 <seglistitem>
70 <seg>lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to
71 xzdiff), lzegrep (link to xzgrep), lzfgrep (link to xzgrep), lzgrep
72 (link to xzgrep), lzless (link to xzless), lzma (link to xz), lzmadec,
73 lzmainfo, lzmore (link to xzmore), unlzma (link to xz), unxz (link to
74 xz), xz, xzcat (link to xz), xzcmp (link to xzdiff), xzdec, xzdiff,
75 xzegrep (link to xzgrep), xzfgrep (link to xzgrep), xzgrep, xzless,
76 xzmore</seg>
77 <seg>liblzma.[a,so]</seg>
78 <seg>/usr/include/lzma, /usr/share/doc/xz-&xz-version;</seg>
79 </seglistitem>
80 </segmentedlist>
81
82 <variablelist>
83 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
84 <?dbfo list-presentation="list"?>
85 <?dbhtml list-presentation="table"?>
86
87 <varlistentry id="lzcat">
88 <term><command>lzcat</command></term>
89 <listitem>
90 <para>Decompresses LZMA and xz files</para>
91 <indexterm zone="ch-system-xz lzcat">
92 <primary sortas="b-lzcat">lzcat</primary>
93 </indexterm>
94 </listitem>
95 </varlistentry>
96
97 <varlistentry id="lzcmp">
98 <term><command>lzcmp</command></term>
99 <listitem>
100 <para>Compares lzma compressed files</para>
101 <indexterm zone="ch-system-xz lzcmp">
102 <primary sortas="b-lzcmp">lzcmp</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 <varlistentry id="lzdiff">
108 <term><command>lzdiff</command></term>
109 <listitem>
110 <para>Compares lzma compressed files</para>
111 <indexterm zone="ch-system-xz lzdiff">
112 <primary sortas="b-lzdiff">lzdiff</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="lzegrep">
118 <term><command>lzegrep</command></term>
119 <listitem>
120 <para>Runs <command>egrep</command> on lzma compressed files</para>
121 <indexterm zone="ch-system-xz lzegrep">
122 <primary sortas="b-lzegrep">lzegrep</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="lzfgrep">
128 <term><command>lzfgrep</command></term>
129 <listitem>
130 <para>Runs <command>fgrep</command> on lzma compressed files</para>
131 <indexterm zone="ch-system-xz lzfgrep">
132 <primary sortas="b-lzfgrep">lzfgrep</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
137 <varlistentry id="lzgrep">
138 <term><command>lzgrep</command></term>
139 <listitem>
140 <para>Runs <command>grep</command> on lzma compressed files</para>
141 <indexterm zone="ch-system-xz lzgrep">
142 <primary sortas="b-lzgrep">lzgrep</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry id="lzless">
148 <term><command>lzless</command></term>
149 <listitem>
150 <para>Runs <command>less</command> on lzma files</para>
151 <indexterm zone="ch-system-xz lzless">
152 <primary sortas="b-lzless">lzless</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="lzma">
158 <term><command>lzma</command></term>
159 <listitem>
160 <para>Compresses lzma files</para>
161 <indexterm zone="ch-system-xz lzma">
162 <primary sortas="b-lzma">lzma</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="lzmadec">
168 <term><command>lzmadec</command></term>
169 <listitem>
170 <para>Decompresses lzma files</para>
171 <indexterm zone="ch-system-xz lzmadec">
172 <primary sortas="b-lzmadec">lzmadec</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="lzmainfo">
178 <term><command>lzmainfo</command></term>
179 <listitem>
180 <para>Displays information stored in an .lzma file header</para>
181 <indexterm zone="ch-system-xz lzmainfo">
182 <primary sortas="b-lzmainfo">lzmainfo</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="lzmore">
188 <term><command>lzmore</command></term>
189 <listitem>
190 <para>Runs <command>more</command> on lzma files</para>
191 <indexterm zone="ch-system-xz lzmore">
192 <primary sortas="b-lzmore">lzmore</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="unlzma">
198 <term><command>unlzma</command></term>
199 <listitem>
200 <para>Uncompresses lzma files</para>
201 <indexterm zone="ch-system-xz unlzma">
202 <primary sortas="b-unlzma">unlzma</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="unxz">
208 <term><command>unxz</command></term>
209 <listitem>
210 <para>Uncompresses xz files</para>
211 <indexterm zone="ch-system-xz unxz">
212 <primary sortas="b-unxz">unxz</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="xz">
218 <term><command>xz</command></term>
219 <listitem>
220 <para>Creates xz compressed files</para>
221 <indexterm zone="ch-system-xz xz">
222 <primary sortas="b-xz">xz</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="xzcat">
228 <term><command>xzcat</command></term>
229 <listitem>
230 <para>Decompresses xz files</para>
231 <indexterm zone="ch-system-xz xzcat">
232 <primary sortas="b-xzcat">xzcat</primary>
233 </indexterm>
234 </listitem>
235 </varlistentry>
236
237 <varlistentry id="xzcmp">
238 <term><command>xzcmp</command></term>
239 <listitem>
240 <para>Compares xz compressed files</para>
241 <indexterm zone="ch-system-xz xzcmp">
242 <primary sortas="b-xzcmp">xzcmp</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry id="xzdec">
248 <term><command>xzdec</command></term>
249 <listitem>
250 <para>Decompresses to standard output</para>
251 <indexterm zone="ch-system-xz xzdec">
252 <primary sortas="b-xzdec">xzdec</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="xzdiff">
258 <term><command>xzdiff</command></term>
259 <listitem>
260 <para>Compares xz compressed files</para>
261 <indexterm zone="ch-system-xz xzdiff">
262 <primary sortas="b-xzdiff">xzdiff</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="xzegrep">
268 <term><command>xzegrep</command></term>
269 <listitem>
270 <para>Runs <command>egrep</command> on xz compressed files</para>
271 <indexterm zone="ch-system-xz xzegrep">
272 <primary sortas="b-xzegrep">xzegrep</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="xzfgrep">
278 <term><command>xzfgrep</command></term>
279 <listitem>
280 <para>Runs <command>fgrep</command> on xz compressed files</para>
281 <indexterm zone="ch-system-xz xzfgrep">
282 <primary sortas="b-xzfgrep">xzfgrep</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="xzgrep">
288 <term><command>xzgrep</command></term>
289 <listitem>
290 <para>Runs <command>grep</command> on xz compressed files</para>
291 <indexterm zone="ch-system-xz xzgrep">
292 <primary sortas="b-xzgrep">xzgrep</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="xzless">
298 <term><command>xzless</command></term>
299 <listitem>
300 <para>Runs <command>less</command> on xz files</para>
301 <indexterm zone="ch-system-xz xzless">
302 <primary sortas="b-xzless">xzless</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="xzmore">
308 <term><command>xzmore</command></term>
309 <listitem>
310 <para>Runs <command>more</command> on xz files</para>
311 <indexterm zone="ch-system-xz xzmore">
312 <primary sortas="b-xzmore">xzmore</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="liblzma">
318 <term><filename class="libraryfile">liblzma</filename></term>
319 <listitem>
320 <para>The LZMA library</para>
321 <indexterm zone="ch-system-xz liblzma">
322 <primary sortas="c-liblzma">liblzma</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 </variablelist>
328
329 </sect2>
330
331</sect1>
Note: See TracBrowser for help on using the repository browser.