source: BOOK/final-system/common/gzip.xml@ 52c7da3

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 52c7da3 was 29e72e1, checked in by Chris Staub <chris@…>, 18 years ago

Update list of installed programs for gzip

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