diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
commit | 73aedd1d35747ff2fad4ddf514dca810721a612a (patch) | |
tree | d05f8b503f210d7248c2b2abea9e5528fc04d90a /chapter06/gzip.xml | |
parent | 0b400add2ba87352e955326bcb931e53864cc2ae (diff) |
Merging caption and installation sections for all packages in chapters 5 and 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gzip.xml')
-rw-r--r-- | chapter06/gzip.xml | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml index 616614f1f..c5a65e9b0 100644 --- a/chapter06/gzip.xml +++ b/chapter06/gzip.xml @@ -7,6 +7,41 @@ Estimated required disk space: &gzip-compsize;</screen> &aa-gzip-shortdesc; &aa-gzip-dep; -&c6-gzip-inst; + +<sect2><title> </title><para> </para></sect2> + +<sect2> +<title>Installation of Gzip</title> + +<para>Prepare Gzip for compilation:</para> + +<screen><userinput>./configure --prefix=/usr</userinput></screen> + +<para>The gzexe program has the location of the gzip binary hard-wired into +it. Because we later change the location of this binary, the following +command will place the new location into the gzexe binary.</para> + +<screen><userinput>cp gzexe.in{,.backup} +sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput></screen> + +<para>Compile the package:</para> + +<screen><userinput>make</userinput></screen> + +<para>Install the package:</para> + +<screen><userinput>make install</userinput></screen> + +<para>And move the programs to the <filename +class="directory">/bin</filename> directory:</para> + +<screen><userinput>mv /usr/bin/gzip /bin +rm /usr/bin/{gunzip,zcat} +ln -s gzip /bin/gunzip +ln -s gzip /bin/zcat +ln -s gunzip /bin/uncompress</userinput></screen> + +</sect2> </sect1> + |