bash-inst.sgml 725 B

123456789101112131415161718192021222324252627282930313233
  1. <sect2>
  2. <title>Installation of Bash</title>
  3. <para>
  4. Install Bash by running the following commands:
  5. </para>
  6. <blockquote><literallayout>
  7. <userinput>./configure --prefix=/usr --with-curses
  8. &amp;&amp;</userinput>
  9. <userinput>make &amp;&amp;</userinput>
  10. <userinput>make install &amp;&amp;</userinput>
  11. <userinput>logout</userinput>
  12. </literallayout></blockquote>
  13. <para>
  14. Replace the static bash with the dynamic bash and re-enter the chroot'ed
  15. environment by running:
  16. </para>
  17. <blockquote><literallayout>
  18. <userinput>mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug
  19. $LFS/bin &amp;&amp;</userinput>
  20. <userinput>chroot $LFS /usr/bin/env -i HOME=/root /bin/bash
  21. --login</userinput>
  22. </literallayout></blockquote>
  23. </sect2>