Pages

Sunday, April 21, 2013

Ncurses installing notes


I googled a how to install ncurses and now trying it.  It took more than 10 minutes and still "maloing" it.  So I took the time off to wrtie this post.  If successful, then I will compile the Guzunty Pi led driver demo program again.  I also noticed that there is a new version 5.9.



How To Download, Compile, And Install GNU Ncurses On Debian/Ubuntu Linux - Geeks Worldwide 

http://www.geeksww.com/tutorials/operating_systems/linux/tools/how_to_download_compile_and_install_gnu_ncurses_on_debianubuntu_linux.php

ncurses is a programming library providing an API, allowing the programmer to write text user interfaces in a terminal-independent manner.

Here are the simple steps to download, configure, compile, and install ncurses on a Linux machine. I have tested these instructions on Debian/Ubuntu and CentOS Linux distributions but they should work on all Linux machines where compilers and make utility are installed. Please take a look at configuring Ubuntu Linux after installation to configure your Debian/Ubuntu Linux box for the required tools.

You can find the list of available ncurses versions at ncurses page. Please make sure you check the downloaded file's integrity before unzipping it. '#' (w/o quotes) in front of the command below means you have to run the command as root user (or use sudo <command>).

I downloaded and installed version 5.7.

$ wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz
$ tar xzf ncurses-5.7.tar.gz
$ cd ncurses-5.7
$ ./configure --prefix=/opt/ncurses
$ make
# make install
$ ls -la /opt/ncurses

Thats it. Now you can use the ncurses to download, compile, and install MySQL cli.

.END


No comments:

Post a Comment