[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 |
|
---|
[1ef890b] | 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 |
|
---|
| 38 | <para os="e">Install the programs:</para>
|
---|
| 39 |
|
---|
| 40 | <screen os="f"><userinput>make install</userinput></screen>
|
---|
| 41 |
|
---|
[f1583ef] | 42 | <para os="g">Move the <filename>xz</filename> binary, and several symlinks
|
---|
| 43 | that point to it, into the /bin directory:</para>
|
---|
| 44 |
|
---|
| 45 | <screen os="h"><userinput>mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin</userinput></screen>
|
---|
[6392a09d] | 46 |
|
---|
[9f652e6] | 47 | </sect2>
|
---|
| 48 |
|
---|
[6392a09d] | 49 | <sect2 id="contents-xz" role="content">
|
---|
| 50 | <title>Contents of XZ-Utils</title>
|
---|
[9f652e6] | 51 |
|
---|
| 52 | <segmentedlist>
|
---|
| 53 | <segtitle>Installed programs</segtitle>
|
---|
| 54 | <segtitle>Installed libraries</segtitle>
|
---|
[61ad0b7f] | 55 | <segtitle>Installed directories</segtitle>
|
---|
[9f652e6] | 56 |
|
---|
| 57 | <seglistitem>
|
---|
[6392a09d] | 58 | <seg>lzcat (link to xz), lzcmp (link to lzdiff), lzdiff, lzegrep (link to lzgrep),
|
---|
| 59 | lzfgrep (link to lzgrep), lzgrep, lzless (link to lzmore), lzma (link to xz),
|
---|
[653a251] | 60 | lzmadec, lzmore, unlzma (link to xz), unxz (link to xz), xz, xzcat
|
---|
| 61 | (link to xz), and xzdec</seg>
|
---|
| 62 | <seg>liblzma.[a,so]</seg>
|
---|
[61ad0b7f] | 63 | <seg>/usr/include/lzma, /usr/share/doc/xz</seg>
|
---|
[9f652e6] | 64 | </seglistitem>
|
---|
| 65 | </segmentedlist>
|
---|
| 66 |
|
---|
| 67 | <variablelist>
|
---|
| 68 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 69 | <?dbfo list-presentation="list"?>
|
---|
| 70 | <?dbhtml list-presentation="table"?>
|
---|
| 71 |
|
---|
[fb8d773] | 72 | <varlistentry id="lzcat">
|
---|
| 73 | <term><command>lzcat</command></term>
|
---|
[9f652e6] | 74 | <listitem>
|
---|
[653a251] | 75 | <para>Decompresses LZMA and xz files</para>
|
---|
[6392a09d] | 76 | <indexterm zone="ch-system-xz lzcat">
|
---|
[fb8d773] | 77 | <primary sortas="b-lzcat">lzcat</primary>
|
---|
[9f652e6] | 78 | </indexterm>
|
---|
| 79 | </listitem>
|
---|
| 80 | </varlistentry>
|
---|
| 81 |
|
---|
[427015f] | 82 | <varlistentry id="lzcmp">
|
---|
| 83 | <term><command>lzcmp</command></term>
|
---|
| 84 | <listitem>
|
---|
| 85 | <para>Compares lzma compressed files</para>
|
---|
[6392a09d] | 86 | <indexterm zone="ch-system-xz lzcmp">
|
---|
[427015f] | 87 | <primary sortas="b-lzcmp">lzcmp</primary>
|
---|
| 88 | </indexterm>
|
---|
| 89 | </listitem>
|
---|
| 90 | </varlistentry>
|
---|
| 91 |
|
---|
| 92 | <varlistentry id="lzdiff">
|
---|
| 93 | <term><command>lzdiff</command></term>
|
---|
| 94 | <listitem>
|
---|
| 95 | <para>Compares lzma compressed files</para>
|
---|
[6392a09d] | 96 | <indexterm zone="ch-system-xz lzdiff">
|
---|
[427015f] | 97 | <primary sortas="b-lzdiff">lzdiff</primary>
|
---|
| 98 | </indexterm>
|
---|
| 99 | </listitem>
|
---|
| 100 | </varlistentry>
|
---|
| 101 |
|
---|
| 102 | <varlistentry id="lzegrep">
|
---|
| 103 | <term><command>lzegrep</command></term>
|
---|
| 104 | <listitem>
|
---|
| 105 | <para>Runs <command>egrep</command> on lzma compressed files</para>
|
---|
[6392a09d] | 106 | <indexterm zone="ch-system-xz lzegrep">
|
---|
[427015f] | 107 | <primary sortas="b-lzegrep">lzegrep</primary>
|
---|
| 108 | </indexterm>
|
---|
| 109 | </listitem>
|
---|
| 110 | </varlistentry>
|
---|
| 111 |
|
---|
| 112 | <varlistentry id="lzfgrep">
|
---|
| 113 | <term><command>lzfgrep</command></term>
|
---|
| 114 | <listitem>
|
---|
| 115 | <para>Runs <command>fgrep</command> on lzma compressed files</para>
|
---|
[6392a09d] | 116 | <indexterm zone="ch-system-xz lzfgrep">
|
---|
[427015f] | 117 | <primary sortas="b-lzfgrep">lzfgrep</primary>
|
---|
| 118 | </indexterm>
|
---|
| 119 | </listitem>
|
---|
| 120 | </varlistentry>
|
---|
| 121 |
|
---|
| 122 | <varlistentry id="lzgrep">
|
---|
| 123 | <term><command>lzgrep</command></term>
|
---|
| 124 | <listitem>
|
---|
| 125 | <para>Runs <command>grep</command> on lzma compressed files</para>
|
---|
[6392a09d] | 126 | <indexterm zone="ch-system-xz lzgrep">
|
---|
[427015f] | 127 | <primary sortas="b-lzgrep">lzgrep</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
| 131 |
|
---|
| 132 | <varlistentry id="lzless">
|
---|
| 133 | <term><command>lzless</command></term>
|
---|
| 134 | <listitem>
|
---|
| 135 | <para>Runs <command>less</command> on lzma files</para>
|
---|
[6392a09d] | 136 | <indexterm zone="ch-system-xz lzless">
|
---|
[427015f] | 137 | <primary sortas="b-lzless">lzless</primary>
|
---|
| 138 | </indexterm>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="lzma">
|
---|
| 143 | <term><command>lzma</command></term>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>Compresses lzma files</para>
|
---|
[6392a09d] | 146 | <indexterm zone="ch-system-xz lzma">
|
---|
[427015f] | 147 | <primary sortas="b-lzma">lzma</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
[9f652e6] | 152 | <varlistentry id="lzmadec">
|
---|
| 153 | <term><command>lzmadec</command></term>
|
---|
| 154 | <listitem>
|
---|
| 155 | <para>Decompresses lzma files</para>
|
---|
[6392a09d] | 156 | <indexterm zone="ch-system-xz lzmadec">
|
---|
[427015f] | 157 | <primary sortas="b-lzmadec">lzmadec</primary>
|
---|
[9f652e6] | 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
[427015f] | 162 | <varlistentry id="lzmore">
|
---|
| 163 | <term><command>lzmore</command></term>
|
---|
[9f652e6] | 164 | <listitem>
|
---|
[427015f] | 165 | <para>Runs <command>more</command> on lzma files</para>
|
---|
[6392a09d] | 166 | <indexterm zone="ch-system-xz lzmore">
|
---|
[427015f] | 167 | <primary sortas="b-lzmore">lzmore</primary>
|
---|
[9f652e6] | 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
[427015f] | 172 | <varlistentry id="unlzma">
|
---|
| 173 | <term><command>unlzma</command></term>
|
---|
[9f652e6] | 174 | <listitem>
|
---|
[427015f] | 175 | <para>Uncompresses lzma files</para>
|
---|
[6392a09d] | 176 | <indexterm zone="ch-system-xz unlzma">
|
---|
[427015f] | 177 | <primary sortas="b-unlzma">unlzma</primary>
|
---|
[9f652e6] | 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
[653a251] | 182 | <varlistentry id="unxz">
|
---|
| 183 | <term><command>unxz</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>Uncompresses xz files</para>
|
---|
| 186 | <indexterm zone="ch-system-xz unxz">
|
---|
| 187 | <primary sortas="b-unxz">unxz</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | <varlistentry id="xz">
|
---|
| 193 | <term><command>xz</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>Creates xz compressed files</para>
|
---|
| 196 | <indexterm zone="ch-system-xz xz">
|
---|
| 197 | <primary sortas="b-xz">xz</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | <varlistentry id="xzcat">
|
---|
| 203 | <term><command>xzcat</command></term>
|
---|
| 204 | <listitem>
|
---|
| 205 | <para>Decompresses xz files</para>
|
---|
| 206 | <indexterm zone="ch-system-xz xzcat">
|
---|
| 207 | <primary sortas="b-xzcat">xzcat</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="xzdec">
|
---|
| 213 | <term><command>xzdec</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>Decompresses to standard output</para>
|
---|
| 216 | <indexterm zone="ch-system-xz xzdec">
|
---|
| 217 | <primary sortas="b-xzdec">xzdec</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="liblzma">
|
---|
| 223 | <term><filename class="libraryfile">liblzma</filename></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>The LZMA library</para>
|
---|
| 226 | <indexterm zone="ch-system-xz liblzma">
|
---|
| 227 | <primary sortas="c-liblzma">liblzma</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
[9f652e6] | 232 | </variablelist>
|
---|
| 233 |
|
---|
| 234 | </sect2>
|
---|
| 235 |
|
---|
| 236 | </sect1>
|
---|