bash.xml 1.3 KB

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