aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bash-inst.xml
blob: 19a54c714dccab886bf84f9db3150d1be30f3400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<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>

<para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>

<para>Prepare Bash to be compiled:</para>

<para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para>

<para>Continue with compiling the package:</para>

<para><screen><userinput>make</userinput></screen></para>

<para>And finish off installing the package:</para>

<para><screen><userinput>make install</userinput></screen></para>

<para>Reload the newly compiled Bash:</para>

<para><screen><userinput>exec /bin/bash --login</userinput></screen></para>

</sect2>