source: BOOK/final-system/common/xz.xml@ 2e4e2db

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 2e4e2db was 80244da, checked in by William Harrington <kb0iic@…>, 12 years ago

Adjust final system xz install command for proper installation of the lzma pkgconfig file.

  • Property mode set to 100644
File size: 7.5 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
[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
[2ce95e9]38 <para os="e">To test the results, issue:
39 <userinput>make check</userinput>.</para>
[9f652e6]40
41
[2ce95e9]42 <para os="f">Install the programs:</para>
[f1583ef]43
[80244da]44<screen os="g"><userinput>make pkgconfigdir=/usr/lib/pkgconfig install</userinput></screen>
[6392a09d]45
[2ce95e9]46 <para os="h">Move the <filename>xz</filename> binary, and several symlinks
47 that point to it, into the /bin directory:</para>
[7de9ad3]48
[2ce95e9]49<screen os="i"><userinput>mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin</userinput></screen>
[7de9ad3]50
[9f652e6]51 </sect2>
52
[6392a09d]53 <sect2 id="contents-xz" role="content">
54 <title>Contents of XZ-Utils</title>
[9f652e6]55
56 <segmentedlist>
57 <segtitle>Installed programs</segtitle>
58 <segtitle>Installed libraries</segtitle>
[61ad0b7f]59 <segtitle>Installed directories</segtitle>
[9f652e6]60
61 <seglistitem>
[6392a09d]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),
[653a251]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>
[61ad0b7f]67 <seg>/usr/include/lzma, /usr/share/doc/xz</seg>
[9f652e6]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
[fb8d773]76 <varlistentry id="lzcat">
77 <term><command>lzcat</command></term>
[9f652e6]78 <listitem>
[653a251]79 <para>Decompresses LZMA and xz files</para>
[6392a09d]80 <indexterm zone="ch-system-xz lzcat">
[fb8d773]81 <primary sortas="b-lzcat">lzcat</primary>
[9f652e6]82 </indexterm>
83 </listitem>
84 </varlistentry>
85
[427015f]86 <varlistentry id="lzcmp">
87 <term><command>lzcmp</command></term>
88 <listitem>
89 <para>Compares lzma compressed files</para>
[6392a09d]90 <indexterm zone="ch-system-xz lzcmp">
[427015f]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>
[6392a09d]100 <indexterm zone="ch-system-xz lzdiff">
[427015f]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>
[6392a09d]110 <indexterm zone="ch-system-xz lzegrep">
[427015f]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>
[6392a09d]120 <indexterm zone="ch-system-xz lzfgrep">
[427015f]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>
[6392a09d]130 <indexterm zone="ch-system-xz lzgrep">
[427015f]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>
[6392a09d]140 <indexterm zone="ch-system-xz lzless">
[427015f]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>
[6392a09d]150 <indexterm zone="ch-system-xz lzma">
[427015f]151 <primary sortas="b-lzma">lzma</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
[9f652e6]156 <varlistentry id="lzmadec">
157 <term><command>lzmadec</command></term>
158 <listitem>
159 <para>Decompresses lzma files</para>
[6392a09d]160 <indexterm zone="ch-system-xz lzmadec">
[427015f]161 <primary sortas="b-lzmadec">lzmadec</primary>
[9f652e6]162 </indexterm>
163 </listitem>
164 </varlistentry>
165
[427015f]166 <varlistentry id="lzmore">
167 <term><command>lzmore</command></term>
[9f652e6]168 <listitem>
[427015f]169 <para>Runs <command>more</command> on lzma files</para>
[6392a09d]170 <indexterm zone="ch-system-xz lzmore">
[427015f]171 <primary sortas="b-lzmore">lzmore</primary>
[9f652e6]172 </indexterm>
173 </listitem>
174 </varlistentry>
175
[427015f]176 <varlistentry id="unlzma">
177 <term><command>unlzma</command></term>
[9f652e6]178 <listitem>
[427015f]179 <para>Uncompresses lzma files</para>
[6392a09d]180 <indexterm zone="ch-system-xz unlzma">
[427015f]181 <primary sortas="b-unlzma">unlzma</primary>
[9f652e6]182 </indexterm>
183 </listitem>
184 </varlistentry>
185
[653a251]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
[9f652e6]236 </variablelist>
237
238 </sect2>
239
240</sect1>
Note: See TracBrowser for help on using the repository browser.