source: BOOK/final-system/common/xz.xml@ 26b5617

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 26b5617 was 2ce95e9, checked in by Jonathan Norman <jonathan at bluesquarelinux.co.uk>, 14 years ago

No longer need to move liblmza.a in XZ for pure 32 / 64bit builds

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