lfs/chapter05/shellutils-inst.xml
2001-04-29 20:46:00 +00:00

22 lines
666 B
XML

<sect2>
<title>Installation of Sh-utils</title>
<para>
Before Sh-utils is installed, the sh-utils patch file needs to be unpacked.
</para>
<blockquote><literallayout>
<userinput>patch -Np1 -i ../sh-utils-&sh-utils-version;.patch
&amp;&amp;</userinput>
<userinput>./configure --prefix=$LFS/usr
--disable-nls &amp;&amp;</userinput>
<userinput>make LDFLAGS=-static &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
<userinput>mv date echo false pwd stty $LFS/bin &amp;&amp;</userinput>
<userinput>mv su true uname hostname $LFS/bin</userinput>
</literallayout></blockquote>
</sect2>