diff options
Diffstat (limited to 'chapter06/ncurses-inst.xml')
-rw-r--r-- | chapter06/ncurses-inst.xml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml index bcc70e08c..9329fc1dd 100644 --- a/chapter06/ncurses-inst.xml +++ b/chapter06/ncurses-inst.xml @@ -3,19 +3,19 @@ <para>Install Ncurses by running the following commands:</para> -<para><screen><userinput>./configure --prefix=/usr --libdir=/lib \</userinput> -<userinput> --with-shared --disable-termcap &&</userinput> -<userinput>make &&</userinput> -<userinput>make install &&</userinput> -<userinput>cd /lib &&</userinput> -<userinput>mv *.a /usr/lib &&</userinput> -<userinput>chmod 755 *.5.2 &&</userinput> -<userinput>cd /usr/lib &&</userinput> -<userinput>ln -sf libncurses.a libcurses.a &&</userinput> -<userinput>ln -sf ../../lib/libncurses.so &&</userinput> -<userinput>ln -sf ../../lib/libcurses.so &&</userinput> -<userinput>ln -sf ../../lib/libform.so &&</userinput> -<userinput>ln -sf ../../lib/libpanel.so &&</userinput> -<userinput>ln -sf ../../lib/libmenu.so</userinput></screen></para> +<para><screen><userinput>./configure --prefix=/usr --libdir=/lib \ + --with-shared --disable-termcap && +make && +make install && +cd /lib && +mv *.a /usr/lib && +chmod 755 *.5.2 && +cd /usr/lib && +ln -sf libncurses.a libcurses.a && +ln -sf ../../lib/libncurses.so && +ln -sf ../../lib/libcurses.so && +ln -sf ../../lib/libform.so && +ln -sf ../../lib/libpanel.so && +ln -sf ../../lib/libmenu.so</userinput></screen></para> </sect2> |