bash.xml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. <para>For the package details see <xref linkend="contents-bash"/>.</para>
  7. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  8. <sect2>
  9. <title>Installation of Bash</title>
  10. <para>Bash contains several known bugs. Fix these with the following
  11. patch:</para>
  12. <screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen>
  13. <para>Now prepare Bash for compilation:</para>
  14. <screen><userinput>./configure --prefix=/tools</userinput></screen>
  15. <para>Compile the program:</para>
  16. <screen><userinput>make</userinput></screen>
  17. <para>This package has a test suite available which can perform a number of
  18. checks to ensure it built correctly. Should you choose to run it, the
  19. following command will do so:</para>
  20. <screen><userinput>make tests</userinput></screen>
  21. <para>Then install it and its documentation:</para>
  22. <screen><userinput>make install</userinput></screen>
  23. <para>And make a link for the programs that use <userinput>sh</userinput>
  24. for a shell:</para>
  25. <screen><userinput>ln -s bash /tools/bin/sh</userinput></screen>
  26. </sect2>
  27. </sect1>