2004-01-27 22:29:49 +00:00
|
|
|
<sect1 id="ch-system-bash" xreflabel="Bash">
|
2001-07-23 19:23:43 +01:00
|
|
|
<title>Installing Bash-&bash-version;</title>
|
2001-09-26 01:24:04 +01:00
|
|
|
<?dbhtml filename="bash.html" dir="chapter06"?>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
<para>The Bash package contains the Bourne-Again SHell.</para>
|
|
|
|
|
2004-01-27 22:27:44 +00:00
|
|
|
<screen>&buildtime; &bash-time;
|
|
|
|
&diskspace; &bash-compsize;</screen>
|
2001-07-17 19:51:18 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-bash-down;
|
2003-11-15 16:07:18 +00:00
|
|
|
&aa-bash-dep;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<sect2><title> </title><para> </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>
|
|
|
|
|
2004-01-12 23:24:06 +00:00
|
|
|
<para>Now prepare Bash for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
|
2004-02-07 10:48:55 +00:00
|
|
|
<para>To have the results tested, issue:
|
|
|
|
<userinput>make tests</userinput>.</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>Install the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
2004-02-01 21:49:10 +00:00
|
|
|
<para>And reload the newly compiled <command>bash</command> program:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-03-09 19:08:33 +00:00
|
|
|
<screen><userinput>exec /bin/bash +h</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
</sect2>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-bash-shortdesc;
|
|
|
|
&aa-bash-desc;
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect1>
|
2003-11-01 22:31:50 +00:00
|
|
|
|