bash.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <sect1 id="ch-tools-bash">
  2. <title>Installing Bash-&bash-version;</title>
  3. <?dbhtml filename="bash.html" dir="chapter05"?>
  4. <screen>&buildtime; &bash-time-tools;
  5. &diskspace; &bash-compsize-tools;</screen>
  6. &aa-bash-down;
  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>(If you insist on testing the results, then issue:
  19. <userinput>make tests</userinput>.)</para>
  20. <para>Then install it and its documentation:</para>
  21. <screen><userinput>make install</userinput></screen>
  22. <para>And make a link for the programs that use <command>sh</command>
  23. for a shell:</para>
  24. <screen><userinput>ln -s bash /tools/bin/sh</userinput></screen>
  25. </sect2>
  26. <sect2><title>&nbsp;</title><para>&nbsp;</para>
  27. <para>The details on this package are found in <xref linkend="contents-bash"/>.</para>
  28. <para>&nbsp;</para></sect2>
  29. </sect1>