diff options
Diffstat (limited to 'chapter06/bash-inst.sgml')
-rw-r--r-- | chapter06/bash-inst.sgml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/chapter06/bash-inst.sgml b/chapter06/bash-inst.sgml new file mode 100644 index 000000000..790ea5344 --- /dev/null +++ b/chapter06/bash-inst.sgml @@ -0,0 +1,33 @@ +<sect2> +<title>Installation of Bash</title> + +<para> +Install Bash by running the following commands: +</para> + +<blockquote><literallayout> + + <userinput>./configure --prefix=/usr --with-curses + &&</userinput> + <userinput>make &&</userinput> + <userinput>make install &&</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 &&</userinput> + <userinput>chroot $LFS /usr/bin/env -i HOME=/root /bin/bash + --login</userinput> + +</literallayout></blockquote> + +</sect2> + |