bash.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <sect1 id="ch05-bash">
  2. <title>Installing Bash-&bash-version;</title>
  3. <?dbhtml filename="bash.html" dir="chapter05"?>
  4. <screen>Estimated build time: &bash-time-tools;
  5. Estimated required disk space: &bash-compsize-tools;</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 contains several known bugs. Fix these with the following
  12. patch:</para>
  13. <screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen>
  14. <para>Now prepare Bash for compilation:</para>
  15. <screen><userinput>./configure --prefix=/tools</userinput></screen>
  16. <para>Compile the program:</para>
  17. <screen><userinput>make</userinput></screen>
  18. <para>This package has a test suite available which can perform a number of
  19. checks to ensure it built correctly. Should you choose to run it, the
  20. following command will do so:</para>
  21. <screen><userinput>make tests</userinput></screen>
  22. <para>Then install it and its documentation:</para>
  23. <screen><userinput>make install</userinput></screen>
  24. <para>And make a link for the programs that use <userinput>sh</userinput>
  25. for a shell:</para>
  26. <screen><userinput>ln -s bash /tools/bin/sh</userinput></screen>
  27. </sect2>
  28. </sect1>