[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 |
|
---|
| 8 | <sect1 id="ch-system-lzma" role="wrap">
|
---|
| 9 | <?dbhtml filename="lzma.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>LZMA-Utils-&lzma-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-lzma">
|
---|
| 14 | <primary sortas="a-LZMA-Utils">LZMA-Utils</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The LZMA-Utils package contains programs for compressing and
|
---|
| 21 | decompressing files. Compressing text files with <command>LZMA-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 LZMA-Utils</title>
|
---|
| 29 |
|
---|
| 30 | <para os="a">Prepare LZMA-Utils for compilation:</para>
|
---|
| 31 |
|
---|
| 32 | <screen os="b"><userinput>./configure --prefix=/usr libdir=/lib</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">Install the programs:</para>
|
---|
| 39 |
|
---|
| 40 | <screen os="f"><userinput>make install</userinput></screen>
|
---|
| 41 |
|
---|
| 42 | <para os="g">Move the LZMA-Utils static libraries to the proper location:</para>
|
---|
| 43 |
|
---|
| 44 | <screen os="h"><userinput>mv -v /lib/liblzmadec.{a,la} /usr/lib</userinput></screen>
|
---|
| 45 |
|
---|
| 46 | <para os="i">Create a symlink for shared library:</para>
|
---|
| 47 |
|
---|
[8c4f60c] | 48 | <screen os="j"><userinput>ln -svf ../../lib/liblzmadec.so.0 /usr/lib/liblzmadec.so</userinput></screen>
|
---|
[9f652e6] | 49 |
|
---|
| 50 | <para os="k">Move the LZMA-Utils binaries to /bin to be available like other compressing utilities:</para>
|
---|
| 51 |
|
---|
| 52 | <screen os="l"><userinput>mv -v /usr/bin/lzma /bin
|
---|
[7e089d59] | 53 | ln -sfv lzma /bin/unlzma
|
---|
| 54 | ln -sfv lzma /bin/lzmacat</userinput></screen>
|
---|
[9f652e6] | 55 |
|
---|
| 56 | </sect2>
|
---|
| 57 |
|
---|
| 58 | <sect2 id="contents-lzma" role="content">
|
---|
| 59 | <title>Contents of LZMA-Utils</title>
|
---|
| 60 |
|
---|
| 61 | <segmentedlist>
|
---|
| 62 | <segtitle>Installed programs</segtitle>
|
---|
| 63 | <segtitle>Installed libraries</segtitle>
|
---|
| 64 |
|
---|
| 65 | <seglistitem>
|
---|
[0da1215] | 66 | <seg>lzma, lzmacat (link to lzma), lzmadec, lzmainfo,
|
---|
| 67 | lzmore, and unlzma (link to lzma).</seg>
|
---|
[9f652e6] | 68 | <seg>liblzmadec.a, liblzmadec.la, liblzmadec.so, liblzmadec.so.0, and
|
---|
| 69 | liblzmadec.so.0.0.0</seg>
|
---|
| 70 | </seglistitem>
|
---|
| 71 | </segmentedlist>
|
---|
| 72 |
|
---|
| 73 | <variablelist>
|
---|
| 74 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 75 | <?dbfo list-presentation="list"?>
|
---|
| 76 | <?dbhtml list-presentation="table"?>
|
---|
| 77 |
|
---|
| 78 | <varlistentry id="lzma">
|
---|
| 79 | <term><command>lzma</command></term>
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>Compresses lzma files</para>
|
---|
| 82 | <indexterm zone="ch-system-lzma bunzip2">
|
---|
| 83 | <primary sortas="b-lzma">lzma</primary>
|
---|
| 84 | </indexterm>
|
---|
| 85 | </listitem>
|
---|
| 86 | </varlistentry>
|
---|
| 87 |
|
---|
| 88 | <varlistentry id="lzmacat">
|
---|
| 89 | <term><command>lzmacat</command></term>
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>Decompresses to standard output</para>
|
---|
| 92 | <indexterm zone="ch-system-lzma lzmacat">
|
---|
| 93 | <primary sortas="b-lzmacat">lzmacat</primary>
|
---|
| 94 | </indexterm>
|
---|
| 95 | </listitem>
|
---|
| 96 | </varlistentry>
|
---|
| 97 |
|
---|
| 98 | <varlistentry id="lzmadec">
|
---|
| 99 | <term><command>lzmadec</command></term>
|
---|
| 100 | <listitem>
|
---|
| 101 | <para>Decompresses lzma files</para>
|
---|
| 102 | <indexterm zone="ch-system-lzma lzmadec">
|
---|
| 103 | <primary sortas="b-lzmadec">lzmaadec</primary>
|
---|
| 104 | </indexterm>
|
---|
| 105 | </listitem>
|
---|
| 106 | </varlistentry>
|
---|
| 107 |
|
---|
| 108 | <varlistentry id="lzmainfo">
|
---|
| 109 | <term><command>lzmainfo</command></term>
|
---|
| 110 | <listitem>
|
---|
| 111 | <para>Shows information about the lzma file.</para>
|
---|
| 112 | <indexterm zone="ch-system-lzma lzmainfo">
|
---|
| 113 | <primary sortas="b-lzmainfo">lzmainfo</primary>
|
---|
| 114 | </indexterm>
|
---|
| 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
| 117 |
|
---|
| 118 | <varlistentry id="lzmaless">
|
---|
| 119 | <term><command>lzmaless</command></term>
|
---|
| 120 | <listitem>
|
---|
| 121 | <para>Runs <command>less</command> on lzma files</para>
|
---|
| 122 | <indexterm zone="ch-system-lzma lzmaless">
|
---|
| 123 | <primary sortas="b-lzmaless">lzmaless</primary>
|
---|
| 124 | </indexterm>
|
---|
| 125 | </listitem>
|
---|
| 126 | </varlistentry>
|
---|
| 127 |
|
---|
| 128 | <varlistentry id="lzmamore">
|
---|
| 129 | <term><command>lzmamore</command></term>
|
---|
| 130 | <listitem>
|
---|
| 131 | <para>Runs <command>more</command> on lzma files</para>
|
---|
| 132 | <indexterm zone="ch-system-lzma lzmamore">
|
---|
| 133 | <primary sortas="b-lzmamore">lzmamore</primary>
|
---|
| 134 | </indexterm>
|
---|
| 135 | </listitem>
|
---|
| 136 | </varlistentry>
|
---|
| 137 |
|
---|
| 138 | <varlistentry id="liblzmadec">
|
---|
[3344456] | 139 | <term><filename class="libraryfile">liblzmadec*</filename></term>
|
---|
[9f652e6] | 140 | <listitem>
|
---|
| 141 | <para>The library implements the Improved and optimized
|
---|
| 142 | version of LZ77 algorithm</para>
|
---|
| 143 | <indexterm zone="ch-system-lzma liblzmadec">
|
---|
| 144 | <primary sortas="c-liblzmadec*">liblzmadec*</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | </variablelist>
|
---|
| 150 |
|
---|
| 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | </sect1>
|
---|