source: chapter06/gzip.xml@ bf3d619

Last change on this file since bf3d619 was 1770019, checked in by Matthew Burgess <matthew@…>, 20 years ago

Upgraded to DocBook 4.4 DTD

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

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[1770019]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[a001133]6<sect1 id="ch-system-gzip" xreflabel="Gzip" role="wrap">
[673b0d8]7<title>Gzip-&gzip-version;</title>
8<?dbhtml filename="gzip.html"?>
9
10<indexterm zone="ch-system-gzip"><primary sortas="a-Gzip">Gzip</primary></indexterm>
[6370fa6]11
[a001133]12<sect2 role="package"><title/>
[5888299]13
[a001133]14<segmentedlist>
15<segtitle>&buildtime;</segtitle>
16<segtitle>&diskspace;</segtitle>
17<seglistitem><seg>0.1 SBU</seg><seg>2.6 MB</seg></seglistitem>
18</segmentedlist>
[673b0d8]19
[a001133]20</sect2>
[3554fa3a]21
[a001133]22<sect2 role="installation">
[73aedd1d]23<title>Installation of Gzip</title>
24
25<para>Prepare Gzip for compilation:</para>
26
27<screen><userinput>./configure --prefix=/usr</userinput></screen>
28
[3f0c882]29<para>Issue a sed command:</para>
[73aedd1d]30
[2ec4b60]31<screen><userinput>sed -i 's@"BINDIR"@/bin@g' gzexe.in</userinput></screen>
[73aedd1d]32
33<para>Compile the package:</para>
34
35<screen><userinput>make</userinput></screen>
36
37<para>Install the package:</para>
38
39<screen><userinput>make install</userinput></screen>
40
[673b0d8]41<para>Move the programs to the <filename class="directory">/bin</filename> directory:</para>
[73aedd1d]42
43<screen><userinput>mv /usr/bin/gzip /bin
44rm /usr/bin/{gunzip,zcat}
45ln -s gzip /bin/gunzip
46ln -s gzip /bin/zcat
47ln -s gunzip /bin/uncompress</userinput></screen>
48
49</sect2>
[6370fa6]50
[5888299]51
[c6cb3aa]52<sect2 id="contents-gzip" role="content"><title>Contents of Gzip</title>
[673b0d8]53
[3f0c882]54<para>See testing</para>
[673b0d8]55
56</sect2>
57
58</sect1>
Note: See TracBrowser for help on using the repository browser.