lfs/chapter06/bash.xml

50 lines
1.2 KiB
XML
Raw Normal View History

<sect1 id="ch-system-bash" xreflabel="Bash">
<title>Installing Bash-&bash-version;</title>
<?dbhtml filename="bash.html" dir="chapter06"?>
<para>The Bash package contains the Bourne-Again SHell.</para>
<screen>&buildtime; &bash-time;
&diskspace; &bash-compsize;</screen>
&aa-bash-down;
&aa-bash-dep;
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Bash</title>
<para>Bash has a number of bugs in it that cause it to not behave the
way it is expected at times. Fix this behaviour with the following
patch:</para>
<screen><userinput>patch -Np1 -i ../&bash-patch;</userinput></screen>
<para>Now prepare Bash for compilation:</para>
<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
<para>To have the results tested, issue:
<userinput>make tests</userinput>.</para>
<para>Install the package:</para>
<screen><userinput>make install</userinput></screen>
<para>And reload the newly compiled <command>bash</command> program:</para>
<screen><userinput>exec /bin/bash +h</userinput></screen>
</sect2>
&aa-bash-shortdesc;
&aa-bash-desc;
</sect1>