bash-inst.xml 963 B

123456789101112131415161718192021222324252627282930313233
  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. <para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
  8. <para>Prepare Bash for compilation:</para>
  9. <para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para>
  10. <para>Compile the package:</para>
  11. <para><screen><userinput>make</userinput></screen></para>
  12. <para>Test the results:</para>
  13. <para><screen><userinput>make tests</userinput></screen></para>
  14. <para>Install the package:</para>
  15. <para><screen><userinput>make install</userinput></screen></para>
  16. <para>And reload the newly compiled <userinput>bash</userinput> program:</para>
  17. <para><screen><userinput>exec /bin/bash --login
  18. set +h</userinput></screen></para>
  19. </sect2>