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</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:
|
---|
39 | <userinput>make check</userinput>.</para>
|
---|
40 |
|
---|
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
|
---|
55 | ln -svf ../../lib/liblzma.so.&xz-version; /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 | and xzmore</seg>
|
---|
75 | <seg>liblzma.[a,so]</seg>
|
---|
76 | <seg>/usr/include/lzma, /usr/share/doc/xz</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="lzmore">
|
---|
176 | <term><command>lzmore</command></term>
|
---|
177 | <listitem>
|
---|
178 | <para>Runs <command>more</command> on lzma files</para>
|
---|
179 | <indexterm zone="ch-system-xz lzmore">
|
---|
180 | <primary sortas="b-lzmore">lzmore</primary>
|
---|
181 | </indexterm>
|
---|
182 | </listitem>
|
---|
183 | </varlistentry>
|
---|
184 |
|
---|
185 | <varlistentry id="unlzma">
|
---|
186 | <term><command>unlzma</command></term>
|
---|
187 | <listitem>
|
---|
188 | <para>Uncompresses lzma files</para>
|
---|
189 | <indexterm zone="ch-system-xz unlzma">
|
---|
190 | <primary sortas="b-unlzma">unlzma</primary>
|
---|
191 | </indexterm>
|
---|
192 | </listitem>
|
---|
193 | </varlistentry>
|
---|
194 |
|
---|
195 | <varlistentry id="unxz">
|
---|
196 | <term><command>unxz</command></term>
|
---|
197 | <listitem>
|
---|
198 | <para>Uncompresses xz files</para>
|
---|
199 | <indexterm zone="ch-system-xz unxz">
|
---|
200 | <primary sortas="b-unxz">unxz</primary>
|
---|
201 | </indexterm>
|
---|
202 | </listitem>
|
---|
203 | </varlistentry>
|
---|
204 |
|
---|
205 | <varlistentry id="xz">
|
---|
206 | <term><command>xz</command></term>
|
---|
207 | <listitem>
|
---|
208 | <para>Creates xz compressed files</para>
|
---|
209 | <indexterm zone="ch-system-xz xz">
|
---|
210 | <primary sortas="b-xz">xz</primary>
|
---|
211 | </indexterm>
|
---|
212 | </listitem>
|
---|
213 | </varlistentry>
|
---|
214 |
|
---|
215 | <varlistentry id="xzcat">
|
---|
216 | <term><command>xzcat</command></term>
|
---|
217 | <listitem>
|
---|
218 | <para>Decompresses xz files</para>
|
---|
219 | <indexterm zone="ch-system-xz xzcat">
|
---|
220 | <primary sortas="b-xzcat">xzcat</primary>
|
---|
221 | </indexterm>
|
---|
222 | </listitem>
|
---|
223 | </varlistentry>
|
---|
224 |
|
---|
225 | <varlistentry id="xzdec">
|
---|
226 | <term><command>xzdec</command></term>
|
---|
227 | <listitem>
|
---|
228 | <para>Decompresses to standard output</para>
|
---|
229 | <indexterm zone="ch-system-xz xzdec">
|
---|
230 | <primary sortas="b-xzdec">xzdec</primary>
|
---|
231 | </indexterm>
|
---|
232 | </listitem>
|
---|
233 | </varlistentry>
|
---|
234 |
|
---|
235 | <varlistentry id="liblzma">
|
---|
236 | <term><filename class="libraryfile">liblzma</filename></term>
|
---|
237 | <listitem>
|
---|
238 | <para>The LZMA library</para>
|
---|
239 | <indexterm zone="ch-system-xz liblzma">
|
---|
240 | <primary sortas="c-liblzma">liblzma</primary>
|
---|
241 | </indexterm>
|
---|
242 | </listitem>
|
---|
243 | </varlistentry>
|
---|
244 |
|
---|
245 | </variablelist>
|
---|
246 |
|
---|
247 | </sect2>
|
---|
248 |
|
---|
249 | </sect1>
|
---|