lfs/chapter05/shellutils-static-inst.sgml

22 lines
558 B
Plaintext
Raw Normal View History

<sect2>
<title>Installation of Sh-utils</title>
<para>
Install Shellutils by running the following commands:
</para>
<blockquote><literallayout>
<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>