mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
b0747dac9d
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@871 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
20 lines
667 B
XML
20 lines
667 B
XML
<sect2>
|
|
<title>Installation of Bash</title>
|
|
|
|
<para>Install Bash by running the following commands:</para>
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr --with-curses &&</userinput>
|
|
<userinput>make &&</userinput>
|
|
<userinput>make install &&</userinput>
|
|
<userinput>logout</userinput>
|
|
<userinput>mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug $LFS/bin &&</userinput>
|
|
&c6-chrootcmd;</screen></para>
|
|
|
|
<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>
|
|
|
|
</sect2>
|
|
|