2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Bash</title>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>Install Bash by running the following commands:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para><screen><userinput>./configure --prefix=/usr --with-curses &&</userinput>
|
2001-07-10 16:06:31 +01:00
|
|
|
<userinput>make &&</userinput>
|
|
|
|
<userinput>make install &&</userinput>
|
|
|
|
<userinput>logout</userinput>
|
2001-07-31 21:10:06 +01:00
|
|
|
<userinput>mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug $LFS/bin &&</userinput>
|
2001-07-31 21:08:50 +01:00
|
|
|
&c6-chrootcmd;</screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-31 21:08:50 +01:00
|
|
|
<para>The static bash is replaced with the dynamic bash after we exit
|
|
|
|
the chroot'ed environment, after which we re-enter it. We do this
|
|
|
|
because it's better not to replace the static bash by a dynamic one when
|
|
|
|
it's in use.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|