source: clfs-sysroot/BOOK/final-system/common/gzip.xml@ 47ca960

Last change on this file since 47ca960 was c439b8a, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Updated CLFS-Sysroot book sources to use DocBook-XML DTD 4.5.

  • Property mode set to 100644
File size: 7.2 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-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 --bindir=/bin</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">Now we will move some of utilities to /usr/bin to meet FHS compliance:</para>
42
43<screen os="h"><userinput>mv ${CLFS}/bin/z{egrep,cmp,diff,fgrep,force,grep,less,more,new} ${CLFS}/usr/bin</userinput></screen>
44
45 </sect2>
46
47 <sect2 id="contents-gzip" role="content">
48 <title>Contents of Gzip</title>
49
50 <segmentedlist>
51 <segtitle>Installed programs</segtitle>
52
53 <seglistitem>
54 <seg>compress (link to gzip), gunzip (link to gzip), gzexe, gzip,
55 uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff,
56 zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</seg>
57 </seglistitem>
58 </segmentedlist>
59
60 <variablelist>
61 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
62 <?dbfo list-presentation="list"?>
63 <?dbhtml list-presentation="table"?>
64
65 <varlistentry id="compress">
66 <term><command>compress</command></term>
67 <listitem>
68 <para>Compresses and decompresses files</para>
69 <indexterm zone="ch-system-gzip compress">
70 <primary sortas="b-compress">compress</primary>
71 </indexterm>
72 </listitem>
73 </varlistentry>
74
75 <varlistentry id="gunzip">
76 <term><command>gunzip</command></term>
77 <listitem>
78 <para>Decompresses gzipped files</para>
79 <indexterm zone="ch-system-gzip gunzip">
80 <primary sortas="b-gunzip">gunzip</primary>
81 </indexterm>
82 </listitem>
83 </varlistentry>
84
85 <varlistentry id="gzexe">
86 <term><command>gzexe</command></term>
87 <listitem>
88 <para>Creates self-decompressing executable files</para>
89 <indexterm zone="ch-system-gzip gzexe">
90 <primary sortas="b-gzexe">gzexe</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 <varlistentry id="gzip">
96 <term><command>gzip</command></term>
97 <listitem>
98 <para>Compresses the given files using Lempel-Ziv (LZ77) coding</para>
99 <indexterm zone="ch-system-gzip gzip">
100 <primary sortas="b-gzip">gzip</primary>
101 </indexterm>
102 </listitem>
103 </varlistentry>
104
105 <varlistentry id="uncompress">
106 <term><command>uncompress</command></term>
107 <listitem>
108 <para>Decompresses compressed files</para>
109 <indexterm zone="ch-system-gzip uncompress">
110 <primary sortas="b-uncompress">uncompress</primary>
111 </indexterm>
112 </listitem>
113 </varlistentry>
114
115 <varlistentry id="zcat">
116 <term><command>zcat</command></term>
117 <listitem>
118 <para>Decompresses the given gzipped files to standard output</para>
119 <indexterm zone="ch-system-gzip zcat">
120 <primary sortas="b-zcat">zcat</primary>
121 </indexterm>
122 </listitem>
123 </varlistentry>
124
125 <varlistentry id="zcmp">
126 <term><command>zcmp</command></term>
127 <listitem>
128 <para>Runs <command>cmp</command> on gzipped files</para>
129 <indexterm zone="ch-system-gzip zcmp">
130 <primary sortas="b-zcmp">zcmp</primary>
131 </indexterm>
132 </listitem>
133 </varlistentry>
134
135 <varlistentry id="zdiff">
136 <term><command>zdiff</command></term>
137 <listitem>
138 <para>Runs <command>diff</command> on gzipped files</para>
139 <indexterm zone="ch-system-gzip zdiff">
140 <primary sortas="b-zdiff">zdiff</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 <varlistentry id="zegrep">
146 <term><command>zegrep</command></term>
147 <listitem>
148 <para>Runs <command>egrep</command> on gzipped files</para>
149 <indexterm zone="ch-system-gzip zegrep">
150 <primary sortas="b-zegrep">zegrep</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="zfgrep">
156 <term><command>zfgrep</command></term>
157 <listitem>
158 <para>Runs <command>fgrep</command> on gzipped files</para>
159 <indexterm zone="ch-system-gzip zfgrep">
160 <primary sortas="b-zfgrep">zfgrep</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="zforce">
166 <term><command>zforce</command></term>
167 <listitem>
168 <para>Forces a <filename class="extension">.gz</filename> extension on
169 all given files that are gzipped files, so that <command>gzip</command>
170 will not compress them again; this can be useful when file names were
171 truncated during a file transfer</para>
172 <indexterm zone="ch-system-gzip zforce">
173 <primary sortas="b-zforce">zforce</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="zgrep">
179 <term><command>zgrep</command></term>
180 <listitem>
181 <para>Runs <command>grep</command> on gzipped files</para>
182 <indexterm zone="ch-system-gzip zgrep">
183 <primary sortas="b-zgrep">zgrep</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="zless">
189 <term><command>zless</command></term>
190 <listitem>
191 <para>Runs <command>less</command> on gzipped files</para>
192 <indexterm zone="ch-system-gzip zless">
193 <primary sortas="b-zless">zless</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="zmore">
199 <term><command>zmore</command></term>
200 <listitem>
201 <para>Runs <command>more</command> on gzipped files</para>
202 <indexterm zone="ch-system-gzip zmore">
203 <primary sortas="b-zmore">zmore</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="znew">
209 <term><command>znew</command></term>
210 <listitem>
211 <para>Re-compresses files from <command>compress</command> format to
212 <command>gzip</command> format&mdash;<filename
213 class="extension">.Z</filename> to <filename
214 class="extension">.gz</filename></para>
215 <indexterm zone="ch-system-gzip znew">
216 <primary sortas="b-znew">znew</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 </variablelist>
222
223 </sect2>
224
225</sect1>
Note: See TracBrowser for help on using the repository browser.