bash-inst.xml 1016 B

12345678910111213141516171819202122232425262728293031323334
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Bash</title>
  4. <para>Bash has a number of bugs in it that cause it to not behave the
  5. way it is expected at times. Fix this behaviour with the following
  6. patch:</para>
  7. <screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen>
  8. <para>Prepare Bash for compilation:</para>
  9. <screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
  10. <para>Compile the package:</para>
  11. <screen><userinput>make</userinput></screen>
  12. <para>This package has a test suite available which can perform a number of
  13. checks to ensure it built correctly. Should you choose to run it, the
  14. following command will do so:</para>
  15. <screen><userinput>make tests</userinput></screen>
  16. <para>Install the package:</para>
  17. <screen><userinput>make install</userinput></screen>
  18. <para>And reload the newly compiled <userinput>bash</userinput> program:</para>
  19. <screen><userinput>exec /bin/bash --login +h</userinput></screen>
  20. </sect2>