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

sysvinit
Last change on this file since 7ddb05f 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
RevLine 
[9f652e6]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
[6392a09d]8<sect1 id="ch-system-xz" role="wrap">
9 <?dbhtml filename="xz.html"?>
[9f652e6]10
[3fb13ab]11 <title>XZ Utils-&xz-version;</title>
[9f652e6]12
[6392a09d]13 <indexterm zone="ch-system-xz">
[3fb13ab]14 <primary sortas="a-XZ Utils">XZ Utils</primary>
[9f652e6]15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
[3fb13ab]20 <para>The XZ Utils package contains programs for compressing and
21 decompressing files. Compressing text files with <command>XZ Utils</command>
[9f652e6]22 yields a much better compression percentage than with the traditional
23 <command>gzip</command>.</para>
24
25 </sect2>
26
27 <sect2 role="installation">
[3fb13ab]28 <title>Installation of XZ Utils</title>
[9f652e6]29
[3fb13ab]30 <para os="a">Prepare XZ Utils for compilation:</para>
[9f652e6]31
[b27081c4]32<screen os="b"><userinput>./configure \
33 --prefix=/usr \
34 --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
[9f652e6]35
[31276bb]36 <para os="c">Compile the package:</para>
[9f652e6]37
38<screen os="d"><userinput>make</userinput></screen>
39
[686839b]40 <para os="e">To test the results, issue:</para>
[9f652e6]41
[686839b]42<screen os="e2"><userinput remap="test">make check</userinput></screen>
[9f652e6]43
[2ce95e9]44 <para os="f">Install the programs:</para>
[f1583ef]45
[058c1e7f]46<screen os="g"><userinput>make install</userinput></screen>
[6392a09d]47
[2ce95e9]48 <para os="h">Move the <filename>xz</filename> binary, and several symlinks
49 that point to it, into the /bin directory:</para>
[7de9ad3]50
[2ce95e9]51<screen os="i"><userinput>mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin</userinput></screen>
[7de9ad3]52
[058c1e7f]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
[21403ba]57ln -sfv ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so</userinput></screen>
[058c1e7f]58
[9f652e6]59 </sect2>
60
[6392a09d]61 <sect2 id="contents-xz" role="content">
[3fb13ab]62 <title>Contents of XZ Utils</title>
[9f652e6]63
64 <segmentedlist>
65 <segtitle>Installed programs</segtitle>
66 <segtitle>Installed libraries</segtitle>
[61ad0b7f]67 <segtitle>Installed directories</segtitle>
[9f652e6]68
69 <seglistitem>
[058c1e7f]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,
[c2102b28]76 xzmore</seg>
[653a251]77 <seg>liblzma.[a,so]</seg>
[c873165]78 <seg>/usr/include/lzma, /usr/share/doc/xz-&xz-version;</seg>
[9f652e6]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
[fb8d773]87 <varlistentry id="lzcat">
88 <term><command>lzcat</command></term>
[9f652e6]89 <listitem>
[653a251]90 <para>Decompresses LZMA and xz files</para>
[6392a09d]91 <indexterm zone="ch-system-xz lzcat">
[fb8d773]92 <primary sortas="b-lzcat">lzcat</primary>
[9f652e6]93 </indexterm>
94 </listitem>
95 </varlistentry>
96
[427015f]97 <varlistentry id="lzcmp">
98 <term><command>lzcmp</command></term>
99 <listitem>
100 <para>Compares lzma compressed files</para>
[6392a09d]101 <indexterm zone="ch-system-xz lzcmp">
[427015f]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>
[6392a09d]111 <indexterm zone="ch-system-xz lzdiff">
[427015f]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>
[6392a09d]121 <indexterm zone="ch-system-xz lzegrep">
[427015f]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>
[6392a09d]131 <indexterm zone="ch-system-xz lzfgrep">
[427015f]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>
[6392a09d]141 <indexterm zone="ch-system-xz lzgrep">
[427015f]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>
[6392a09d]151 <indexterm zone="ch-system-xz lzless">
[427015f]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>
[6392a09d]161 <indexterm zone="ch-system-xz lzma">
[427015f]162 <primary sortas="b-lzma">lzma</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
[9f652e6]167 <varlistentry id="lzmadec">
168 <term><command>lzmadec</command></term>
169 <listitem>
170 <para>Decompresses lzma files</para>
[6392a09d]171 <indexterm zone="ch-system-xz lzmadec">
[427015f]172 <primary sortas="b-lzmadec">lzmadec</primary>
[9f652e6]173 </indexterm>
174 </listitem>
175 </varlistentry>
176
[b8e82b7]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
[427015f]187 <varlistentry id="lzmore">
188 <term><command>lzmore</command></term>
[9f652e6]189 <listitem>
[427015f]190 <para>Runs <command>more</command> on lzma files</para>
[6392a09d]191 <indexterm zone="ch-system-xz lzmore">
[427015f]192 <primary sortas="b-lzmore">lzmore</primary>
[9f652e6]193 </indexterm>
194 </listitem>
195 </varlistentry>
196
[427015f]197 <varlistentry id="unlzma">
198 <term><command>unlzma</command></term>
[9f652e6]199 <listitem>
[427015f]200 <para>Uncompresses lzma files</para>
[6392a09d]201 <indexterm zone="ch-system-xz unlzma">
[427015f]202 <primary sortas="b-unlzma">unlzma</primary>
[9f652e6]203 </indexterm>
204 </listitem>
205 </varlistentry>
206
[653a251]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
[b8e82b7]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
[653a251]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
[b8e82b7]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
[653a251]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
[9f652e6]327 </variablelist>
328
329 </sect2>
330
331</sect1>
Note: See TracBrowser for help on using the repository browser.