source: BOOK/final-system/common/lzma.xml@ d0aaa94b

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d0aaa94b was fb8d773, checked in by Chris Staub <chris@…>, 16 years ago

Corrections to lzma page

  • Property mode set to 100644
File size: 4.8 KB
Line 
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 the shared library:</para>
47
48<screen os="j"><userinput>ln -svf ../../lib/liblzmadec.so.0 /usr/lib/liblzmadec.so</userinput></screen>
49
50 <para os="k">Move the <command>lzma</command> binary, and a couple
51 symlinks to it, to <filename class="directory">/bin</filename> to be
52 available like other compressing utilities:</para>
53
54<screen os="l"><userinput>mv -v /usr/bin/{lzma,lzcat,unlzma} /bin</userinput></screen>
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>
66 <seg>lzma, lzcat (link to lzma), lzmadec, lzmainfo,
67 lzmore, and unlzma (link to lzma).</seg>
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="lzcat">
89 <term><command>lzcat</command></term>
90 <listitem>
91 <para>Decompresses to standard output</para>
92 <indexterm zone="ch-system-lzma lzcat">
93 <primary sortas="b-lzcat">lzcat</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">
139 <term><filename class="libraryfile">liblzmadec*</filename></term>
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>
Note: See TracBrowser for help on using the repository browser.