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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 44972a7 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
RevLine 
[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
[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
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
[52f91b9]46 <para os="i">Create a symlink for the shared library:</para>
[9f652e6]47
[8c4f60c]48<screen os="j"><userinput>ln -svf ../../lib/liblzmadec.so.0 /usr/lib/liblzmadec.so</userinput></screen>
[9f652e6]49
[fb8d773]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>
[9f652e6]53
[fb8d773]54<screen os="l"><userinput>mv -v /usr/bin/{lzma,lzcat,unlzma} /bin</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>
[fb8d773]66 <seg>lzma, lzcat (link to lzma), lzmadec, lzmainfo,
[0da1215]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
[fb8d773]88 <varlistentry id="lzcat">
89 <term><command>lzcat</command></term>
[9f652e6]90 <listitem>
91 <para>Decompresses to standard output</para>
[fb8d773]92 <indexterm zone="ch-system-lzma lzcat">
93 <primary sortas="b-lzcat">lzcat</primary>
[9f652e6]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>
Note: See TracBrowser for help on using the repository browser.