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

Last change on this file since e867aad was 667fd39, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Fixed compilation errors with xzutils and rsyslog.

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