bash.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <sect1 id="ch-system-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>To have the results tested, issue:
  21. <userinput>make tests</userinput>.</para>
  22. <para>Install the package:</para>
  23. <screen><userinput>make install</userinput></screen>
  24. <para>And reload the newly compiled <command>bash</command> program:</para>
  25. <screen><userinput>exec /bin/bash --login +h</userinput></screen>
  26. </sect2>
  27. &aa-bash-shortdesc;
  28. &aa-bash-desc;
  29. </sect1>