mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-22 06:58:54 +00:00
4a7a683b9a
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2608 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
35 lines
1000 B
XML
35 lines
1000 B
XML
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Gzip</title>
|
|
|
|
<para>Prepare Gzip to be compiled:</para>
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
|
|
|
|
<para>Change the default installation directory for Gzip so it will
|
|
be installed in the <filename class="directory">/bin</filename>
|
|
directory:</para>
|
|
|
|
<para><screen><userinput>cp gzexe.in{,.backup}
|
|
sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput></screen></para>
|
|
|
|
<para>Continue with compiling the package:</para>
|
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
<para>Install the package:</para>
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
<para>Move the Gzip binaries to the <filename
|
|
class="directory">/bin</filename> directory:</para>
|
|
|
|
<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></para>
|
|
|
|
</sect2>
|