source: chapter06/gzip.xml@ 1686ad8

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 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 1686ad8 was b06ca36, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Updated book sources to use DocBook-XML DTD 4.5

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