aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ncurses-inst.xml
blob: a314c20a48b1f016be011cc122e6aac7a97f2982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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>