lfs/chapter06/bash-inst.xml
2001-04-16 02:04:19 +00:00

33 lines
787 B
XML

<sect2>
<title>Installation of Bash</title>
<para>
Install Bash by running the following commands:
</para>
<blockquote><literallayout>
<userinput>./configure --prefix=/usr --with-curses
&amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>logout</userinput>
</literallayout></blockquote>
<para>
The static bash is replaced with the dynamic bash and the chroot'ed
environment is re-entered by running:
</para>
<blockquote><literallayout>
<userinput>mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug
$LFS/bin &amp;&amp;</userinput>
<userinput>chroot $LFS /usr/bin/env -i HOME=/root
\</userinput>
<userinput>&nbsp;&nbsp;&nbsp;TERM=$TERM /bin/bash
--login</userinput>
</literallayout></blockquote>
</sect2>