source: chapter06/gzip.xml@ 320cf3b

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 8.4 8.4-rc1 9.0 9.0-rc1 9.1 9.1-rc1 cross-chap5 ml-11.0 multilib old-trunk trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since 320cf3b was 320cf3b, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to gzip-1.10.
Update to tzdata-2018i.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11498 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 7.3 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 <sect1info condition="script">
12 <productname>gzip</productname>
13 <productnumber>&gzip-version;</productnumber>
14 <address>&gzip-url;</address>
15 </sect1info>
16
17 <title>Gzip-&gzip-version;</title>
18
19 <indexterm zone="ch-system-gzip">
20 <primary sortas="a-Gzip">Gzip</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Gzip package contains programs for compressing and decompressing
27 files.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&gzip-ch6-sbu;</seg>
35 <seg>&gzip-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Gzip</title>
43
44 <para>Prepare Gzip for compilation:</para>
45
46<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
47
48 <para>Compile the package:</para>
49
50<screen><userinput remap="make">make</userinput></screen>
51
52 <para>To test the results, issue:</para>
53
54<screen><userinput remap="test">make check</userinput></screen>
55
56 <para>Two tests are known to fail in the LFS environment:
57 help-version and zmore.</para>
58
59 <para>Install the package:</para>
60
61<screen><userinput remap="install">make install</userinput></screen>
62
63 <para>Move a program that needs to be on the root filesystem:</para>
64
65<screen><userinput remap="install">mv -v /usr/bin/gzip /bin</userinput></screen>
66
67 </sect2>
68
69 <sect2 id="contents-gzip" role="content">
70 <title>Contents of Gzip</title>
71
72 <segmentedlist>
73 <segtitle>Installed programs</segtitle>
74
75 <seglistitem>
76 <seg>gunzip, gzexe, gzip, uncompress (hard link with gunzip), zcat, zcmp,
77 zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</seg>
78 </seglistitem>
79 </segmentedlist>
80
81 <variablelist>
82 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
83 <?dbfo list-presentation="list"?>
84 <?dbhtml list-presentation="table"?>
85
86 <varlistentry id="gunzip">
87 <term><command>gunzip</command></term>
88 <listitem>
89 <para>Decompresses gzipped files</para>
90 <indexterm zone="ch-system-gzip gunzip">
91 <primary sortas="b-gunzip">gunzip</primary>
92 </indexterm>
93 </listitem>
94 </varlistentry>
95
96 <varlistentry id="gzexe">
97 <term><command>gzexe</command></term>
98 <listitem>
99 <para>Creates self-decompressing executable files</para>
100 <indexterm zone="ch-system-gzip gzexe">
101 <primary sortas="b-gzexe">gzexe</primary>
102 </indexterm>
103 </listitem>
104 </varlistentry>
105
106 <varlistentry id="gzip">
107 <term><command>gzip</command></term>
108 <listitem>
109 <para>Compresses the given files using Lempel-Ziv (LZ77) coding</para>
110 <indexterm zone="ch-system-gzip gzip">
111 <primary sortas="b-gzip">gzip</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
116 <varlistentry id="uncompress">
117 <term><command>uncompress</command></term>
118 <listitem>
119 <para>Decompresses compressed files</para>
120 <indexterm zone="ch-system-gzip uncompress">
121 <primary sortas="b-uncompress">uncompress</primary>
122 </indexterm>
123 </listitem>
124 </varlistentry>
125
126 <varlistentry id="zcat">
127 <term><command>zcat</command></term>
128 <listitem>
129 <para>Decompresses the given gzipped files to standard output</para>
130 <indexterm zone="ch-system-gzip zcat">
131 <primary sortas="b-zcat">zcat</primary>
132 </indexterm>
133 </listitem>
134 </varlistentry>
135
136 <varlistentry id="zcmp">
137 <term><command>zcmp</command></term>
138 <listitem>
139 <para>Runs <command>cmp</command> on gzipped files</para>
140 <indexterm zone="ch-system-gzip zcmp">
141 <primary sortas="b-zcmp">zcmp</primary>
142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 <varlistentry id="zdiff">
147 <term><command>zdiff</command></term>
148 <listitem>
149 <para>Runs <command>diff</command> on gzipped files</para>
150 <indexterm zone="ch-system-gzip zdiff">
151 <primary sortas="b-zdiff">zdiff</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
156 <varlistentry id="zegrep">
157 <term><command>zegrep</command></term>
158 <listitem>
159 <para>Runs <command>egrep</command> on gzipped files</para>
160 <indexterm zone="ch-system-gzip zegrep">
161 <primary sortas="b-zegrep">zegrep</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="zfgrep">
167 <term><command>zfgrep</command></term>
168 <listitem>
169 <para>Runs <command>fgrep</command> on gzipped files</para>
170 <indexterm zone="ch-system-gzip zfgrep">
171 <primary sortas="b-zfgrep">zfgrep</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="zforce">
177 <term><command>zforce</command></term>
178 <listitem>
179 <para>Forces a <filename class="extension">.gz</filename> extension on
180 all given files that are gzipped files, so that <command>gzip</command>
181 will not compress them again; this can be useful when file names were
182 truncated during a file transfer</para>
183 <indexterm zone="ch-system-gzip zforce">
184 <primary sortas="b-zforce">zforce</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="zgrep">
190 <term><command>zgrep</command></term>
191 <listitem>
192 <para>Runs <command>grep</command> on gzipped files</para>
193 <indexterm zone="ch-system-gzip zgrep">
194 <primary sortas="b-zgrep">zgrep</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="zless">
200 <term><command>zless</command></term>
201 <listitem>
202 <para>Runs <command>less</command> on gzipped files</para>
203 <indexterm zone="ch-system-gzip zless">
204 <primary sortas="b-zless">zless</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="zmore">
210 <term><command>zmore</command></term>
211 <listitem>
212 <para>Runs <command>more</command> on gzipped files</para>
213 <indexterm zone="ch-system-gzip zmore">
214 <primary sortas="b-zmore">zmore</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="znew">
220 <term><command>znew</command></term>
221 <listitem>
222 <para>Re-compresses files from <command>compress</command> format to
223 <command>gzip</command> format&mdash;<filename
224 class="extension">.Z</filename> to <filename
225 class="extension">.gz</filename></para>
226 <indexterm zone="ch-system-gzip znew">
227 <primary sortas="b-znew">znew</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 </variablelist>
233
234 </sect2>
235
236</sect1>
Note: See TracBrowser for help on using the repository browser.