mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 21:49:13 +00:00
549cfcfe7a
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2079 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
20 lines
570 B
XML
20 lines
570 B
XML
<sect2>
|
|
<title>Installation of Gzip</title>
|
|
|
|
<para>Install Gzip by running the following commands:</para>
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../gzip-&gzip-patch-version;.patch &&
|
|
./configure --prefix=/usr &&
|
|
cp gzexe.in{,.backup} &&
|
|
sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in &&
|
|
make &&
|
|
make install &&
|
|
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>
|
|
|