aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/shellutils-static-inst.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/shellutils-static-inst.sgml')
-rw-r--r--chapter05/shellutils-static-inst.sgml21
1 files changed, 21 insertions, 0 deletions
diff --git a/chapter05/shellutils-static-inst.sgml b/chapter05/shellutils-static-inst.sgml
new file mode 100644
index 000000000..5c65eefc7
--- /dev/null
+++ b/chapter05/shellutils-static-inst.sgml
@@ -0,0 +1,21 @@
+<sect2>
+<title>Installation of Sh-utils</title>
+
+<para>
+Install Shellutils by running the following commands:
+</para>
+
+<blockquote><literallayout>
+
+ <userinput>./configure --prefix=$LFS/usr
+ --disable-nls &amp;&amp;</userinput>
+ <userinput>make LDFLAGS=-static &amp;&amp;</userinput>
+ <userinput>make install &amp;&amp;</userinput>
+ <userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
+ <userinput>mv date echo false pwd stty $LFS/bin &amp;&amp;</userinput>
+ <userinput>mv su true uname hostname $LFS/bin</userinput>
+
+</literallayout></blockquote>
+
+</sect2>
+