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