mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
81a47c0302
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@337 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
36 lines
818 B
XML
36 lines
818 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
|
|
&&</userinput>
|
|
<userinput>make &&</userinput>
|
|
<userinput>make install &&</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 &&</userinput>
|
|
<userinput>chroot $LFS /usr/bin/env -i HOME=/root
|
|
\</userinput>
|
|
<userinput> TERM=$TERM /bin/bash
|
|
--login</userinput>
|
|
|
|
</literallayout></blockquote>
|
|
|
|
</sect2>
|
|
|