source: BOOK/final-system/common/gzip.xml@ 8b704c8d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8b704c8d was c47e2c5, checked in by Jim Gifford <clfs@…>, 18 years ago

Update to Gzip 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 --prefix=/usr</userinput></screen>
31
32 <para os="c">Compile the package:</para>
33
34<screen os="d"><userinput>make</userinput></screen>
35
36 <para os="e">This package does not come with a test suite.</para>
37
38 <para os="f">Install the package:</para>
39
40<screen os="g"><userinput>make install</userinput></screen>
41
42 <para os="h">Move the <command>gzip</command> program to the <filename
43 class="directory">/bin</filename> directory and create some commonly
44 used symlinks to it:</para>
45
46<screen os="i"><userinput>mv -v /usr/bin/gzip /bin
47rm -v /usr/bin/{gunzip,zcat}
48ln -sv gzip /bin/gunzip
49ln -sv gzip /bin/zcat
50ln -sv gzip /bin/compress
51ln -sv gunzip /bin/uncompress</userinput></screen>
52
53 </sect2>
54
55 <sect2 id="contents-gzip" role="content">
56 <title>Contents of Gzip</title>
57
58 <segmentedlist>
59 <segtitle>Installed programs</segtitle>
60
61 <seglistitem>
62 <seg>compress (link to gzip), gunzip (link to gzip), gzexe, gzip,
63 uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff,
64 zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</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="compress">
74 <term><command>compress</command></term>
75 <listitem>
76 <para>Compresses and decompresses files</para>
77 <indexterm zone="ch-system-gzip compress">
78 <primary sortas="b-compress">compress</primary>
79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 <varlistentry id="gunzip">
84 <term><command>gunzip</command></term>
85 <listitem>
86 <para>Decompresses gzipped files</para>
87 <indexterm zone="ch-system-gzip gunzip">
88 <primary sortas="b-gunzip">gunzip</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry id="gzexe">
94 <term><command>gzexe</command></term>
95 <listitem>
96 <para>Creates self-decompressing executable files</para>
97 <indexterm zone="ch-system-gzip gzexe">
98 <primary sortas="b-gzexe">gzexe</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="gzip">
104 <term><command>gzip</command></term>
105 <listitem>
106 <para>Compresses the given files using Lempel-Ziv (LZ77) coding</para>
107 <indexterm zone="ch-system-gzip gzip">
108 <primary sortas="b-gzip">gzip</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="uncompress">
114 <term><command>uncompress</command></term>
115 <listitem>
116 <para>Decompresses compressed files</para>
117 <indexterm zone="ch-system-gzip uncompress">
118 <primary sortas="b-uncompress">uncompress</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 <varlistentry id="zcat">
124 <term><command>zcat</command></term>
125 <listitem>
126 <para>Decompresses the given gzipped files to standard output</para>
127 <indexterm zone="ch-system-gzip zcat">
128 <primary sortas="b-zcat">zcat</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="zcmp">
134 <term><command>zcmp</command></term>
135 <listitem>
136 <para>Runs <command>cmp</command> on gzipped files</para>
137 <indexterm zone="ch-system-gzip zcmp">
138 <primary sortas="b-zcmp">zcmp</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="zdiff">
144 <term><command>zdiff</command></term>
145 <listitem>
146 <para>Runs <command>diff</command> on gzipped files</para>
147 <indexterm zone="ch-system-gzip zdiff">
148 <primary sortas="b-zdiff">zdiff</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="zegrep">
154 <term><command>zegrep</command></term>
155 <listitem>
156 <para>Runs <command>egrep</command> on gzipped files</para>
157 <indexterm zone="ch-system-gzip zegrep">
158 <primary sortas="b-zegrep">zegrep</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="zfgrep">
164 <term><command>zfgrep</command></term>
165 <listitem>
166 <para>Runs <command>fgrep</command> on gzipped files</para>
167 <indexterm zone="ch-system-gzip zfgrep">
168 <primary sortas="b-zfgrep">zfgrep</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="zforce">
174 <term><command>zforce</command></term>
175 <listitem>
176 <para>Forces a <filename class="extension">.gz</filename> extension on
177 all given files that are gzipped files, so that <command>gzip</command>
178 will not compress them again; this can be useful when file names were
179 truncated during a file transfer</para>
180 <indexterm zone="ch-system-gzip zforce">
181 <primary sortas="b-zforce">zforce</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="zgrep">
187 <term><command>zgrep</command></term>
188 <listitem>
189 <para>Runs <command>grep</command> on gzipped files</para>
190 <indexterm zone="ch-system-gzip zgrep">
191 <primary sortas="b-zgrep">zgrep</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="zless">
197 <term><command>zless</command></term>
198 <listitem>
199 <para>Runs <command>less</command> on gzipped files</para>
200 <indexterm zone="ch-system-gzip zless">
201 <primary sortas="b-zless">zless</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="zmore">
207 <term><command>zmore</command></term>
208 <listitem>
209 <para>Runs <command>more</command> on gzipped files</para>
210 <indexterm zone="ch-system-gzip zmore">
211 <primary sortas="b-zmore">zmore</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="znew">
217 <term><command>znew</command></term>
218 <listitem>
219 <para>Re-compresses files from <command>compress</command> format to
220 <command>gzip</command> format&mdash;<filename
221 class="extension">.Z</filename> to <filename
222 class="extension">.gz</filename></para>
223 <indexterm zone="ch-system-gzip znew">
224 <primary sortas="b-znew">znew</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 </variablelist>
230
231 </sect2>
232
233</sect1>
Note: See TracBrowser for help on using the repository browser.