bash.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <sect1 id="ch06-bash">
  2. <title>Installing Bash-&bash-version;</title>
  3. <?dbhtml filename="bash.html" dir="chapter06"?>
  4. <screen>Estimated build time: &bash-time;
  5. Estimated required disk space: &bash-compsize;</screen>
  6. &aa-bash-shortdesc;
  7. &aa-bash-dep;
  8. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  9. <sect2>
  10. <title>Installation of Bash</title>
  11. <para>Bash has a number of bugs in it that cause it to not behave the
  12. way it is expected at times. Fix this behaviour with the following
  13. patch:</para>
  14. <screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen>
  15. <para>Prepare Bash for compilation:</para>
  16. <screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
  17. <para>Compile the package:</para>
  18. <screen><userinput>make</userinput></screen>
  19. <para>This package has a test suite available which can perform a number of
  20. checks to ensure it built correctly. Should you choose to run it, the
  21. following command will do so:</para>
  22. <screen><userinput>make tests</userinput></screen>
  23. <para>Install the package:</para>
  24. <screen><userinput>make install</userinput></screen>
  25. <para>And reload the newly compiled <userinput>bash</userinput> program:</para>
  26. <screen><userinput>exec /bin/bash --login +h</userinput></screen>
  27. </sect2>
  28. </sect1>