source: clfs-sysroot/BOOK/final-system/common/gzip.xml@ 20ec175

Last change on this file since 20ec175 was 5811db8, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Updated Gzip to 1.3.7.

  • Property mode set to 100644
File size: 7.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-gzip" role="wrap">
9 <?dbhtml filename="gzip.html"?>
10
11 <title>Gzip-&gzip-version;</title>
12
13 <indexterm zone="ch-system-gzip">
14 <primary sortas="a-Gzip">Gzip</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Gzip package contains programs for compressing and decompressing
21 files.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Gzip</title>
27
28 <para os="a">Prepare Gzip for compilation:</para>
29
30<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
31 --prefix=/usr</userinput></screen>
32
33 <para os="c">Compile the package:</para>
34
35<screen os="d"><userinput>make</userinput></screen>
36
37 <para os="e">Install the package:</para>
38
39<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
40
41 <para os="g">Move the <command>gzip</command> program to the <filename
42 class="directory">/bin</filename> directory and create some commonly
43 used symlinks to it:</para>
44
45<screen os="h"><userinput>mv -v ${CLFS}/usr/bin/gzip ${CLFS}/bin
46rm -v ${CLFS}/usr/bin/{gunzip,zcat}
47ln -sv gzip ${CLFS}/bin/gunzip
48ln -sv gzip ${CLFS}/bin/zcat
49ln -sv gzip ${CLFS}/bin/compress
50ln -sv gunzip ${CLFS}/bin/uncompress</userinput></screen>
51
52 </sect2>
53
54 <sect2 id="contents-gzip" role="content">
55 <title>Contents of Gzip</title>
56
57 <segmentedlist>
58 <segtitle>Installed programs</segtitle>
59
60 <seglistitem>
61 <seg>compress (link to gzip), gunzip (link to gzip), gzexe, gzip,
62 uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff,
63 zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</seg>
64 </seglistitem>
65 </segmentedlist>
66
67 <variablelist>
68 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
69 <?dbfo list-presentation="list"?>
70 <?dbhtml list-presentation="table"?>
71
72 <varlistentry id="compress">
73 <term><command>compress</command></term>
74 <listitem>
75 <para>Compresses and decompresses files</para>
76 <indexterm zone="ch-system-gzip compress">
77 <primary sortas="b-compress">compress</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 <varlistentry id="gunzip">
83 <term><command>gunzip</command></term>
84 <listitem>
85 <para>Decompresses gzipped files</para>
86 <indexterm zone="ch-system-gzip gunzip">
87 <primary sortas="b-gunzip">gunzip</primary>
88 </indexterm>
89 </listitem>
90 </varlistentry>
91
92 <varlistentry id="gzexe">
93 <term><command>gzexe</command></term>
94 <listitem>
95 <para>Creates self-decompressing executable files</para>
96 <indexterm zone="ch-system-gzip gzexe">
97 <primary sortas="b-gzexe">gzexe</primary>
98 </indexterm>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry id="gzip">
103 <term><command>gzip</command></term>
104 <listitem>
105 <para>Compresses the given files using Lempel-Ziv (LZ77) coding</para>
106 <indexterm zone="ch-system-gzip gzip">
107 <primary sortas="b-gzip">gzip</primary>
108 </indexterm>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry id="uncompress">
113 <term><command>uncompress</command></term>
114 <listitem>
115 <para>Decompresses compressed files</para>
116 <indexterm zone="ch-system-gzip uncompress">
117 <primary sortas="b-uncompress">uncompress</primary>
118 </indexterm>
119 </listitem>
120 </varlistentry>
121
122 <varlistentry id="zcat">
123 <term><command>zcat</command></term>
124 <listitem>
125 <para>Decompresses the given gzipped files to standard output</para>
126 <indexterm zone="ch-system-gzip zcat">
127 <primary sortas="b-zcat">zcat</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry id="zcmp">
133 <term><command>zcmp</command></term>
134 <listitem>
135 <para>Runs <command>cmp</command> on gzipped files</para>
136 <indexterm zone="ch-system-gzip zcmp">
137 <primary sortas="b-zcmp">zcmp</primary>
138 </indexterm>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry id="zdiff">
143 <term><command>zdiff</command></term>
144 <listitem>
145 <para>Runs <command>diff</command> on gzipped files</para>
146 <indexterm zone="ch-system-gzip zdiff">
147 <primary sortas="b-zdiff">zdiff</primary>
148 </indexterm>
149 </listitem>
150 </varlistentry>
151
152 <varlistentry id="zegrep">
153 <term><command>zegrep</command></term>
154 <listitem>
155 <para>Runs <command>egrep</command> on gzipped files</para>
156 <indexterm zone="ch-system-gzip zegrep">
157 <primary sortas="b-zegrep">zegrep</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="zfgrep">
163 <term><command>zfgrep</command></term>
164 <listitem>
165 <para>Runs <command>fgrep</command> on gzipped files</para>
166 <indexterm zone="ch-system-gzip zfgrep">
167 <primary sortas="b-zfgrep">zfgrep</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="zforce">
173 <term><command>zforce</command></term>
174 <listitem>
175 <para>Forces a <filename class="extension">.gz</filename> extension on
176 all given files that are gzipped files, so that <command>gzip</command>
177 will not compress them again; this can be useful when file names were
178 truncated during a file transfer</para>
179 <indexterm zone="ch-system-gzip zforce">
180 <primary sortas="b-zforce">zforce</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="zgrep">
186 <term><command>zgrep</command></term>
187 <listitem>
188 <para>Runs <command>grep</command> on gzipped files</para>
189 <indexterm zone="ch-system-gzip zgrep">
190 <primary sortas="b-zgrep">zgrep</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="zless">
196 <term><command>zless</command></term>
197 <listitem>
198 <para>Runs <command>less</command> on gzipped files</para>
199 <indexterm zone="ch-system-gzip zless">
200 <primary sortas="b-zless">zless</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="zmore">
206 <term><command>zmore</command></term>
207 <listitem>
208 <para>Runs <command>more</command> on gzipped files</para>
209 <indexterm zone="ch-system-gzip zmore">
210 <primary sortas="b-zmore">zmore</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="znew">
216 <term><command>znew</command></term>
217 <listitem>
218 <para>Re-compresses files from <command>compress</command> format to
219 <command>gzip</command> format&mdash;<filename
220 class="extension">.Z</filename> to <filename
221 class="extension">.gz</filename></para>
222 <indexterm zone="ch-system-gzip znew">
223 <primary sortas="b-znew">znew</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
228 </variablelist>
229
230 </sect2>
231
232</sect1>
Note: See TracBrowser for help on using the repository browser.