[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 |
|
---|
[c873165] | 32 | <screen os="b"><userinput>./configure --prefix=/usr --docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
|
---|
[9f652e6] | 33 |
|
---|
[31276bb] | 34 | <para os="c">Compile the package:</para>
|
---|
[9f652e6] | 35 |
|
---|
| 36 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 37 |
|
---|
[686839b] | 38 | <para os="e">To test the results, issue:</para>
|
---|
[9f652e6] | 39 |
|
---|
[686839b] | 40 | <screen os="e2"><userinput remap="test">make check</userinput></screen>
|
---|
[9f652e6] | 41 |
|
---|
[2ce95e9] | 42 | <para os="f">Install the programs:</para>
|
---|
[f1583ef] | 43 |
|
---|
[058c1e7f] | 44 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
[6392a09d] | 45 |
|
---|
[2ce95e9] | 46 | <para os="h">Move the <filename>xz</filename> binary, and several symlinks
|
---|
| 47 | that point to it, into the /bin directory:</para>
|
---|
[7de9ad3] | 48 |
|
---|
[2ce95e9] | 49 | <screen os="i"><userinput>mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin</userinput></screen>
|
---|
[7de9ad3] | 50 |
|
---|
[058c1e7f] | 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
|
---|
[21403ba] | 55 | ln -sfv ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so</userinput></screen>
|
---|
[058c1e7f] | 56 |
|
---|
[9f652e6] | 57 | </sect2>
|
---|
| 58 |
|
---|
[6392a09d] | 59 | <sect2 id="contents-xz" role="content">
|
---|
[3fb13ab] | 60 | <title>Contents of XZ Utils</title>
|
---|
[9f652e6] | 61 |
|
---|
| 62 | <segmentedlist>
|
---|
| 63 | <segtitle>Installed programs</segtitle>
|
---|
| 64 | <segtitle>Installed libraries</segtitle>
|
---|
[61ad0b7f] | 65 | <segtitle>Installed directories</segtitle>
|
---|
[9f652e6] | 66 |
|
---|
| 67 | <seglistitem>
|
---|
[058c1e7f] | 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>
|
---|
[653a251] | 75 | <seg>liblzma.[a,so]</seg>
|
---|
[c873165] | 76 | <seg>/usr/include/lzma, /usr/share/doc/xz-&xz-version;</seg>
|
---|
[9f652e6] | 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 |
|
---|
[fb8d773] | 85 | <varlistentry id="lzcat">
|
---|
| 86 | <term><command>lzcat</command></term>
|
---|
[9f652e6] | 87 | <listitem>
|
---|
[653a251] | 88 | <para>Decompresses LZMA and xz files</para>
|
---|
[6392a09d] | 89 | <indexterm zone="ch-system-xz lzcat">
|
---|
[fb8d773] | 90 | <primary sortas="b-lzcat">lzcat</primary>
|
---|
[9f652e6] | 91 | </indexterm>
|
---|
| 92 | </listitem>
|
---|
| 93 | </varlistentry>
|
---|
| 94 |
|
---|
[427015f] | 95 | <varlistentry id="lzcmp">
|
---|
| 96 | <term><command>lzcmp</command></term>
|
---|
| 97 | <listitem>
|
---|
| 98 | <para>Compares lzma compressed files</para>
|
---|
[6392a09d] | 99 | <indexterm zone="ch-system-xz lzcmp">
|
---|
[427015f] | 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>
|
---|
[6392a09d] | 109 | <indexterm zone="ch-system-xz lzdiff">
|
---|
[427015f] | 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>
|
---|
[6392a09d] | 119 | <indexterm zone="ch-system-xz lzegrep">
|
---|
[427015f] | 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>
|
---|
[6392a09d] | 129 | <indexterm zone="ch-system-xz lzfgrep">
|
---|
[427015f] | 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>
|
---|
[6392a09d] | 139 | <indexterm zone="ch-system-xz lzgrep">
|
---|
[427015f] | 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>
|
---|
[6392a09d] | 149 | <indexterm zone="ch-system-xz lzless">
|
---|
[427015f] | 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>
|
---|
[6392a09d] | 159 | <indexterm zone="ch-system-xz lzma">
|
---|
[427015f] | 160 | <primary sortas="b-lzma">lzma</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
[9f652e6] | 165 | <varlistentry id="lzmadec">
|
---|
| 166 | <term><command>lzmadec</command></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>Decompresses lzma files</para>
|
---|
[6392a09d] | 169 | <indexterm zone="ch-system-xz lzmadec">
|
---|
[427015f] | 170 | <primary sortas="b-lzmadec">lzmadec</primary>
|
---|
[9f652e6] | 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
[b8e82b7] | 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 |
|
---|
[427015f] | 185 | <varlistentry id="lzmore">
|
---|
| 186 | <term><command>lzmore</command></term>
|
---|
[9f652e6] | 187 | <listitem>
|
---|
[427015f] | 188 | <para>Runs <command>more</command> on lzma files</para>
|
---|
[6392a09d] | 189 | <indexterm zone="ch-system-xz lzmore">
|
---|
[427015f] | 190 | <primary sortas="b-lzmore">lzmore</primary>
|
---|
[9f652e6] | 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
[427015f] | 195 | <varlistentry id="unlzma">
|
---|
| 196 | <term><command>unlzma</command></term>
|
---|
[9f652e6] | 197 | <listitem>
|
---|
[427015f] | 198 | <para>Uncompresses lzma files</para>
|
---|
[6392a09d] | 199 | <indexterm zone="ch-system-xz unlzma">
|
---|
[427015f] | 200 | <primary sortas="b-unlzma">unlzma</primary>
|
---|
[9f652e6] | 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
[653a251] | 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 |
|
---|
[b8e82b7] | 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 |
|
---|
[653a251] | 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 |
|
---|
[b8e82b7] | 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 |
|
---|
[653a251] | 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 |
|
---|
[9f652e6] | 325 | </variablelist>
|
---|
| 326 |
|
---|
| 327 | </sect2>
|
---|
| 328 |
|
---|
| 329 | </sect1>
|
---|