source: clfs-sysroot/BOOK/final-system/common/xz.xml@ 5dcf0ee

Last change on this file since 5dcf0ee was 12e6567, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Added a sysroot wrapper.
Updated the build variables section of the book, each package uses its own.

  • Property mode set to 100644
File size: 5.9 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 &env-target;
28
29 <sect2 role="installation">
30 <title>Installation of XZ-Utils</title>
31
32 <para os="a">Prepare XZ-Utils for compilation:</para>
33
34<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
35 --prefix=/usr</userinput></screen>
36
37 <para os="c">Compile the package:</para>
38
39<screen os="d"><userinput>make</userinput></screen>
40
41 <para os="e">Install the programs:</para>
42
43<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
44
45 <para os="g">Move the <filename>xz</filename> binary, and several symlinks
46 that point to it, into the /bin directory:</para>
47
48<screen os="h"><userinput>mv -v ${CLFS}/usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} ${CLFS}/bin</userinput></screen>
49
50 </sect2>
51
52 <sect2 id="contents-xz" role="content">
53 <title>Contents of XZ-Utils</title>
54
55 <segmentedlist>
56 <segtitle>Installed programs</segtitle>
57 <segtitle>Installed libraries</segtitle>
58
59 <seglistitem>
60 <seg>lzcat (link to xz), lzcmp (link to lzdiff), lzdiff, lzegrep (link to lzgrep),
61 lzfgrep (link to lzgrep), lzgrep, lzless (link to lzmore), lzma (link to xz),
62 lzmadec, lzmore, unlzma (link to xz), unxz (link to xz), xz, xzdec, and
63 xzcat (link to xz).</seg>
64 <seg>/liblzma.a liblzma.la liblzma.so liblzma.so.0 liblzma.so.0.0.0</seg>
65 </seglistitem>
66 </segmentedlist>
67
68 <variablelist>
69 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
70 <?dbfo list-presentation="list"?>
71 <?dbhtml list-presentation="table"?>
72
73 <varlistentry id="lzcat">
74 <term><command>lzcat</command></term>
75 <listitem>
76 <para>Decompresses to standard output</para>
77 <indexterm zone="ch-system-xz lzcat">
78 <primary sortas="b-lzcat">lzcat</primary>
79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 <varlistentry id="lzcmp">
84 <term><command>lzcmp</command></term>
85 <listitem>
86 <para>Compares lzma compressed files</para>
87 <indexterm zone="ch-system-xz lzcmp">
88 <primary sortas="b-lzcmp">lzcmp</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry id="lzdiff">
94 <term><command>lzdiff</command></term>
95 <listitem>
96 <para>Compares lzma compressed files</para>
97 <indexterm zone="ch-system-xz lzdiff">
98 <primary sortas="b-lzdiff">lzdiff</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="lzegrep">
104 <term><command>lzegrep</command></term>
105 <listitem>
106 <para>Runs <command>egrep</command> on lzma compressed files</para>
107 <indexterm zone="ch-system-xz lzegrep">
108 <primary sortas="b-lzegrep">lzegrep</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="lzfgrep">
114 <term><command>lzfgrep</command></term>
115 <listitem>
116 <para>Runs <command>fgrep</command> on lzma compressed files</para>
117 <indexterm zone="ch-system-xz lzfgrep">
118 <primary sortas="b-lzfgrep">lzfgrep</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 <varlistentry id="lzgrep">
124 <term><command>lzgrep</command></term>
125 <listitem>
126 <para>Runs <command>grep</command> on lzma compressed files</para>
127 <indexterm zone="ch-system-xz lzgrep">
128 <primary sortas="b-lzgrep">lzgrep</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="lzless">
134 <term><command>lzless</command></term>
135 <listitem>
136 <para>Runs <command>less</command> on lzma files</para>
137 <indexterm zone="ch-system-xz lzless">
138 <primary sortas="b-lzless">lzless</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="lzma">
144 <term><command>lzma</command></term>
145 <listitem>
146 <para>Compresses lzma files</para>
147 <indexterm zone="ch-system-xz lzma">
148 <primary sortas="b-lzma">lzma</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="lzmadec">
154 <term><command>lzmadec</command></term>
155 <listitem>
156 <para>Decompresses lzma files</para>
157 <indexterm zone="ch-system-xz lzmadec">
158 <primary sortas="b-lzmadec">lzmadec</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="lzmore">
164 <term><command>lzmore</command></term>
165 <listitem>
166 <para>Runs <command>more</command> on lzma files</para>
167 <indexterm zone="ch-system-xz lzmore">
168 <primary sortas="b-lzmore">lzmore</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="unlzma">
174 <term><command>unlzma</command></term>
175 <listitem>
176 <para>Uncompresses lzma files</para>
177 <indexterm zone="ch-system-xz unlzma">
178 <primary sortas="b-unlzma">unlzma</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 </variablelist>
184
185 </sect2>
186
187</sect1>
Note: See TracBrowser for help on using the repository browser.