aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ncurses-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/ncurses-inst.xml')
-rw-r--r--chapter06/ncurses-inst.xml20
1 files changed, 9 insertions, 11 deletions
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml
index 9329fc1dd..26b9cb05c 100644
--- a/chapter06/ncurses-inst.xml
+++ b/chapter06/ncurses-inst.xml
@@ -4,18 +4,16 @@
<para>Install Ncurses by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr --libdir=/lib \
-&nbsp;&nbsp;&nbsp;--with-shared --disable-termcap &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;--with-shared --disable-termcap &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
-cd /lib &amp;&amp;
-mv *.a /usr/lib &amp;&amp;
-chmod 755 *.5.2 &amp;&amp;
-cd /usr/lib &amp;&amp;
-ln -sf libncurses.a libcurses.a &amp;&amp;
-ln -sf ../../lib/libncurses.so &amp;&amp;
-ln -sf ../../lib/libcurses.so &amp;&amp;
-ln -sf ../../lib/libform.so &amp;&amp;
-ln -sf ../../lib/libpanel.so &amp;&amp;
-ln -sf ../../lib/libmenu.so</userinput></screen></para>
+mv /lib/*.a /usr/lib &amp;&amp;
+chmod 755 /lib/*.5.2 &amp;&amp;
+ln -sf libncurses.a /usr/lib/libcurses.a &amp;&amp;
+ln -sf ../../lib/libncurses.so /usr/lib &amp;&amp;
+ln -sf ../../lib/libcurses.so /usr/lib &amp;&amp;
+ln -sf ../../lib/libform.so /usr/lib &amp;&amp;
+ln -sf ../../lib/libpanel.so /usr/lib &amp;&amp;
+ln -sf ../../lib/libmenu.so /usr/lib</userinput></screen></para>
</sect2>