aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bash-inst.xml
blob: ea0e51b00feaa93634c815a83b76b1474e1ea434 (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>Installation of Bash</title>

<para>
Install Bash by running the following commands:
</para>

<blockquote><literallayout>
	<userinput>./configure --prefix=/usr --with-curses
		 &amp;&amp;</userinput>
	<userinput>make &amp;&amp;</userinput>
	<userinput>make install &amp;&amp;</userinput>
	<userinput>logout</userinput>
	<userinput>mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug
		$LFS/bin</userinput>
</literallayout></blockquote>

<para>
The static bash is replaced with the dynamic bash and the chroot'ed
environment is re-entered by running:
</para>

<blockquote><literallayout>
	&c6-chrootcmd;
</literallayout></blockquote>

</sect2>