source: chapter06/gzip.xml@ 192ac08

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 192ac08 was 529b9a0, checked in by Matthew Burgess <matthew@…>, 18 years ago

Upgrade to Gzip-1.3.11. Fixes #1951.

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

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