[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 |
|
---|
[6392a09d] | 11 | <title>XZ-Utils-&xz-version;</title>
|
---|
[9f652e6] | 12 |
|
---|
[6392a09d] | 13 | <indexterm zone="ch-system-xz">
|
---|
| 14 | <primary sortas="a-XZ-Utils">XZ-Utils</primary>
|
---|
[9f652e6] | 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
[6392a09d] | 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">
|
---|
[6392a09d] | 28 | <title>Installation of XZ-Utils</title>
|
---|
[9f652e6] | 29 |
|
---|
[6392a09d] | 30 | <para os="a">Prepare XZ-Utils for compilation:</para>
|
---|
[9f652e6] | 31 |
|
---|
[058c1e7f] | 32 | <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
[9f652e6] | 33 |
|
---|
[31276bb] | 34 | <para os="c">Compile the package:</para>
|
---|
[9f652e6] | 35 |
|
---|
| 36 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 37 |
|
---|
[2ce95e9] | 38 | <para os="e">To test the results, issue:
|
---|
| 39 | <userinput>make check</userinput>.</para>
|
---|
[9f652e6] | 40 |
|
---|
| 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
|
---|
| 55 | ln -svf ../../lib/liblzma.so.&xz-version; /usr/lib/liblzma.so</userinput></screen>
|
---|
| 56 |
|
---|
[9f652e6] | 57 | </sect2>
|
---|
| 58 |
|
---|
[6392a09d] | 59 | <sect2 id="contents-xz" role="content">
|
---|
| 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>
|
---|
[61ad0b7f] | 76 | <seg>/usr/include/lzma, /usr/share/doc/xz</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 |
|
---|
[427015f] | 175 | <varlistentry id="lzmore">
|
---|
| 176 | <term><command>lzmore</command></term>
|
---|
[9f652e6] | 177 | <listitem>
|
---|
[427015f] | 178 | <para>Runs <command>more</command> on lzma files</para>
|
---|
[6392a09d] | 179 | <indexterm zone="ch-system-xz lzmore">
|
---|
[427015f] | 180 | <primary sortas="b-lzmore">lzmore</primary>
|
---|
[9f652e6] | 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
[427015f] | 185 | <varlistentry id="unlzma">
|
---|
| 186 | <term><command>unlzma</command></term>
|
---|
[9f652e6] | 187 | <listitem>
|
---|
[427015f] | 188 | <para>Uncompresses lzma files</para>
|
---|
[6392a09d] | 189 | <indexterm zone="ch-system-xz unlzma">
|
---|
[427015f] | 190 | <primary sortas="b-unlzma">unlzma</primary>
|
---|
[9f652e6] | 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
[653a251] | 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 |
|
---|
[9f652e6] | 245 | </variablelist>
|
---|
| 246 |
|
---|
| 247 | </sect2>
|
---|
| 248 |
|
---|
| 249 | </sect1>
|
---|