bash-inst.xml 943 B

123456789101112131415161718192021222324252627282930313233
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Bash</title>
  4. <para>Bash contains several known bugs. Fix these with the following
  5. patch:</para>
  6. <para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
  7. <para>Now prepare Bash for compilation:</para>
  8. <para><screen><userinput>./configure --prefix=/stage1 --with-curses</userinput></screen></para>
  9. <para>Compile the program:</para>
  10. <para><screen><userinput>make</userinput></screen></para>
  11. <para>Check that it works correctly:</para>
  12. <para><screen><userinput>make tests</userinput></screen></para>
  13. <para>Then install it and its documentation:</para>
  14. <para><screen><userinput>make install</userinput></screen></para>
  15. <para>And make a link for the programs that use <userinput>sh</userinput>
  16. for a shell:</para>
  17. <para><screen><userinput>ln -s bash /stage1/bin/sh</userinput></screen></para>
  18. </sect2>