aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bash-inst.sgml
blob: 790ea5344ceeda2ae1e09cc849520f9e94d42f44 (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
29
30
31
32
33
<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>

</literallayout></blockquote>

<para>
Replace the static bash with the dynamic bash and re-enter the chroot'ed
environment by running:
</para>

<blockquote><literallayout>

	<userinput>mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug 
		$LFS/bin &amp;&amp;</userinput>
	<userinput>chroot $LFS /usr/bin/env -i HOME=/root /bin/bash 
		--login</userinput>
	
</literallayout></blockquote>

</sect2>