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.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml
new file mode 100644
index 000000000..4dd204e30
--- /dev/null
+++ b/chapter06/ncurses-inst.xml
@@ -0,0 +1,21 @@
+<sect2>
+<title>Installation of Ncurses</title>
+
+<para>
+Install Ncurses by running the following commands:
+</para>
+
+<blockquote><literallayout>
+
+ <userinput>./configure --prefix=/usr --libdir=/lib \</userinput>
+ <userinput>&nbsp;&nbsp;&nbsp;--with-shared
+ --disable-termcap &amp;&amp;</userinput>
+ <userinput>make &amp;&amp;</userinput>
+ <userinput>make install &amp;&amp;</userinput>
+ <userinput>cd /lib &amp;&amp;</userinput>
+ <userinput>ln -s libncurses.a libcurses.a</userinput>
+
+</literallayout></blockquote>
+
+</sect2>
+