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

systemd
Last change on this file since b65829f was f698055a, checked in by Chris Staub <chris@…>, 10 years ago

Improve consistency in package installation lists, mainly removing 'and'

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