source: clfs-sysroot/BOOK/final-system/common/gzip.xml@ 68ed089

Last change on this file since 68ed089 was 11eafaa, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Updated Gzip's list of installed programs.

  • Property mode set to 100644
File size: 6.8 KB
RevLine 
[02095ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
[c439b8a]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[02095ae]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
[cee2ca2]30<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[6ae0bf6]31 --prefix=/usr --bindir=/bin</userinput></screen>
[02095ae]32
[5811db8]33 <para os="c">Compile the package:</para>
[02095ae]34
[5811db8]35<screen os="d"><userinput>make</userinput></screen>
[02095ae]36
[5811db8]37 <para os="e">Install the package:</para>
[02095ae]38
[5811db8]39<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[02095ae]40
[6ae0bf6]41 <para os="g">Now we will move some of utilities to /usr/bin to meet FHS compliance:</para>
[02095ae]42
[46e39cd]43<screen os="h"><userinput>mv ${CLFS}/bin/z{egrep,cmp,diff,fgrep,force,grep,less,more,new} ${CLFS}/usr/bin</userinput></screen>
[02095ae]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>
[11eafaa]54 <seg>gunzip, gzexe, gzip, uncompress, zcat, zcmp, zdiff,
[02095ae]55 zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</seg>
56 </seglistitem>
57 </segmentedlist>
58
59 <variablelist>
60 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
61 <?dbfo list-presentation="list"?>
62 <?dbhtml list-presentation="table"?>
63
64 <varlistentry id="gunzip">
65 <term><command>gunzip</command></term>
66 <listitem>
67 <para>Decompresses gzipped files</para>
68 <indexterm zone="ch-system-gzip gunzip">
69 <primary sortas="b-gunzip">gunzip</primary>
70 </indexterm>
71 </listitem>
72 </varlistentry>
73
74 <varlistentry id="gzexe">
75 <term><command>gzexe</command></term>
76 <listitem>
77 <para>Creates self-decompressing executable files</para>
78 <indexterm zone="ch-system-gzip gzexe">
79 <primary sortas="b-gzexe">gzexe</primary>
80 </indexterm>
81 </listitem>
82 </varlistentry>
83
84 <varlistentry id="gzip">
85 <term><command>gzip</command></term>
86 <listitem>
87 <para>Compresses the given files using Lempel-Ziv (LZ77) coding</para>
88 <indexterm zone="ch-system-gzip gzip">
89 <primary sortas="b-gzip">gzip</primary>
90 </indexterm>
91 </listitem>
92 </varlistentry>
93
94 <varlistentry id="uncompress">
95 <term><command>uncompress</command></term>
96 <listitem>
97 <para>Decompresses compressed files</para>
98 <indexterm zone="ch-system-gzip uncompress">
99 <primary sortas="b-uncompress">uncompress</primary>
100 </indexterm>
101 </listitem>
102 </varlistentry>
103
104 <varlistentry id="zcat">
105 <term><command>zcat</command></term>
106 <listitem>
107 <para>Decompresses the given gzipped files to standard output</para>
108 <indexterm zone="ch-system-gzip zcat">
109 <primary sortas="b-zcat">zcat</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
114 <varlistentry id="zcmp">
115 <term><command>zcmp</command></term>
116 <listitem>
117 <para>Runs <command>cmp</command> on gzipped files</para>
118 <indexterm zone="ch-system-gzip zcmp">
119 <primary sortas="b-zcmp">zcmp</primary>
120 </indexterm>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry id="zdiff">
125 <term><command>zdiff</command></term>
126 <listitem>
127 <para>Runs <command>diff</command> on gzipped files</para>
128 <indexterm zone="ch-system-gzip zdiff">
129 <primary sortas="b-zdiff">zdiff</primary>
130 </indexterm>
131 </listitem>
132 </varlistentry>
133
134 <varlistentry id="zegrep">
135 <term><command>zegrep</command></term>
136 <listitem>
137 <para>Runs <command>egrep</command> on gzipped files</para>
138 <indexterm zone="ch-system-gzip zegrep">
139 <primary sortas="b-zegrep">zegrep</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="zfgrep">
145 <term><command>zfgrep</command></term>
146 <listitem>
147 <para>Runs <command>fgrep</command> on gzipped files</para>
148 <indexterm zone="ch-system-gzip zfgrep">
149 <primary sortas="b-zfgrep">zfgrep</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="zforce">
155 <term><command>zforce</command></term>
156 <listitem>
157 <para>Forces a <filename class="extension">.gz</filename> extension on
158 all given files that are gzipped files, so that <command>gzip</command>
159 will not compress them again; this can be useful when file names were
160 truncated during a file transfer</para>
161 <indexterm zone="ch-system-gzip zforce">
162 <primary sortas="b-zforce">zforce</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="zgrep">
168 <term><command>zgrep</command></term>
169 <listitem>
170 <para>Runs <command>grep</command> on gzipped files</para>
171 <indexterm zone="ch-system-gzip zgrep">
172 <primary sortas="b-zgrep">zgrep</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="zless">
178 <term><command>zless</command></term>
179 <listitem>
180 <para>Runs <command>less</command> on gzipped files</para>
181 <indexterm zone="ch-system-gzip zless">
182 <primary sortas="b-zless">zless</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="zmore">
188 <term><command>zmore</command></term>
189 <listitem>
190 <para>Runs <command>more</command> on gzipped files</para>
191 <indexterm zone="ch-system-gzip zmore">
192 <primary sortas="b-zmore">zmore</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="znew">
198 <term><command>znew</command></term>
199 <listitem>
200 <para>Re-compresses files from <command>compress</command> format to
201 <command>gzip</command> format&mdash;<filename
202 class="extension">.Z</filename> to <filename
203 class="extension">.gz</filename></para>
204 <indexterm zone="ch-system-gzip znew">
205 <primary sortas="b-znew">znew</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 </variablelist>
211
212 </sect2>
213
214</sect1>
Note: See TracBrowser for help on using the repository browser.